Allow secondary users to control Superuser settings except multiuser options

This commit is contained in:
topjohnwu 2017-10-13 02:41:18 +08:00
parent e9322fba26
commit 0c239a42de

View File

@ -110,8 +110,7 @@ public class SettingsActivity extends Activity implements Topic.Subscriber {
// Disable dangerous settings in user mode if selected owner manage
if (getActivity().getApplicationInfo().uid > 99999) {
prefScreen.removePreference(magiskCategory);
prefScreen.removePreference(suCategory);
suCategory.removePreference(multiuserMode);
generalCatagory.removePreference(hideManager);
}