mirror of
https://github.com/topjohnwu/Magisk.git
synced 2024-12-26 00:47:43 +00:00
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…
x
Reference in New Issue
Block a user