Commit c992b89b authored by d8ahazard's avatar d8ahazard

Well, the disable part works...

Auto enable is still a bit trigger happy.  But, bugs worked out, might
try a method of detection that uses root...
parent fc5c9647
......@@ -29,13 +29,11 @@ public class AutoRootFragment extends ListFragment {
private ApplicationAdapter listadaptor = null;
public ListView listView;
public SharedPreferences prefs;
private View view;
List<String> arrayList;
@Override
public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
view = inflater.inflate(R.layout.auto_root_fragment, container, false);
return view;
return inflater.inflate(R.layout.auto_root_fragment, container, false);
}
@Override
......@@ -49,7 +47,7 @@ public class AutoRootFragment extends ListFragment {
Set<String> set = new HashSet<String>();
set.add("com.google.android.apps.walletnfcrel");
editor.putStringSet("autoapps", set);
editor.commit();
editor.apply();
}
new LoadApplications().execute();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment