Commits

Robert Craig committed 420bc5d

Code cleanup.
Removed some imports and a backup file.

Comments (0)

Files changed (3)

res/menu/main_activity.xml~

-<?xml version="1.0" encoding="utf-8"?>
-<menu xmlns:android="http://schemas.android.com/apk/res/android" >
-
-  <item 
-      android:id="@+id/refreshButtonAVC" 
-      android:showAsAction="always|withText"
-      android:title="AVC"
-      android:icon="@drawable/ic_menu_refresh" />
-
-  <item 
-      android:id="@+id/refreshButtonMAC" 
-      android:showAsAction="always|withText"
-      android:title="MAC"
-      android:icon="@drawable/ic_menu_refresh" />
-
-  <item 
-      android:id="@+id/saveButton" 
-      android:showAsAction="always|withText"
-      android:title="Save"
-      android:icon="@android:drawable/ic_menu_save" />
-
-</menu>

src/com/android/seandroid_manager/SEAndroidManager.java

 
 package com.android.seandroid_manager;
 
-//import android.app.Fragment;
-//import android.app.ListFragment;
-//import android.content.Intent;
-
 import android.content.Context;
 import android.preference.PreferenceActivity;
 import android.os.SELinux;

src/com/android/seandroid_manager/SELinuxEnforcingFragment.java

   
 package com.android.seandroid_manager;
 
-import android.widget.ImageView;
-import android.widget.BaseAdapter;
-import android.app.Activity;
-import android.app.AlertDialog;
-import android.app.Fragment;
-import android.app.ListFragment;
-import android.app.ProgressDialog;
-import android.content.Context;
-import android.content.DialogInterface;
-import android.content.pm.PackageManager;
-import android.content.pm.ApplicationInfo;
 import android.os.Bundle;
-import android.os.Environment;
-import android.os.Handler;
 import android.os.SELinux;
-import android.os.SystemProperties;
 import android.preference.CheckBoxPreference;
 import android.preference.Preference;
-import android.preference.PreferenceActivity;
 import android.preference.PreferenceFragment;
 import android.preference.PreferenceScreen;
 import android.provider.Settings;
-import android.view.LayoutInflater;
-import android.view.Menu;
-import android.view.MenuInflater;
-import android.view.MenuItem;
-import android.view.View;
-import android.view.View.OnClickListener;
-import android.view.ViewGroup;
-import android.widget.AdapterView;
-import android.widget.AdapterView.OnItemClickListener;
-import android.widget.ArrayAdapter;
-import android.widget.Button;
 import android.widget.CheckBox;
-import android.widget.CompoundButton;
-import android.widget.ListView;
-import android.widget.ScrollView;
-import android.widget.TextView;
-
-import android.util.Log;
 
 public class SELinuxEnforcingFragment extends PreferenceFragment {
 
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.