Commits

joshua_brindle committed 1a6d917

Re-enable property_context, file_context and seapp_context reload

These now work on UMBGA I9505, though not necessarilly on other models.

  • Participants
  • Parent commits ee2a97a
  • Branches samsung-API

Comments (0)

Files changed (1)

File src/com/android/seandroid_admin/SELinuxEnforcingFragment.java

 import android.util.Log;
 import android.widget.TextView;
 import android.widget.Toast;
-import com.sec.enterprise.knox.seandroid.*;
+import com.sec.enterprise.knox.seandroid.SEAndroidPolicy;
 
 import com.android.seandroid_admin.R;
 
             }
             mSELinuxRestore.setEnabled(true);
 
-            mPropertyContextsReload.setEnabled(false);
+            mPropertyContextsReload.setEnabled(true);
             if (mPropertyContextsPolicyFile != null) {
                 mPropertyContextsReload.setSummary(mPropertyContextsPolicyFile.getPath());
             } else {
             }
             mPropertyContextsRestore.setEnabled(false);
 
-            mFileContextsReload.setEnabled(false);
+            mFileContextsReload.setEnabled(true);
             if (mFileContextsPolicyFile != null) {
                 mFileContextsReload.setSummary(mFileContextsPolicyFile.getPath());
             } else {
             }
             mFileContextsRestore.setEnabled(false);
 
-            mSEAppContextsReload.setEnabled(false);
+            mSEAppContextsReload.setEnabled(true);
             if (mSEAppContextsPolicyFile != null) {
                 mSEAppContextsReload.setSummary(mSEAppContextsPolicyFile.getPath());
             } else {