Allow secondary users to control Superuser settings except multiuser options
This commit is contained in:
parent
e9322fba26
commit
0c239a42de
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user