mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-01-13 17:33:39 +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
|
// Disable dangerous settings in user mode if selected owner manage
|
||||||
if (getActivity().getApplicationInfo().uid > 99999) {
|
if (getActivity().getApplicationInfo().uid > 99999) {
|
||||||
prefScreen.removePreference(magiskCategory);
|
suCategory.removePreference(multiuserMode);
|
||||||
prefScreen.removePreference(suCategory);
|
|
||||||
generalCatagory.removePreference(hideManager);
|
generalCatagory.removePreference(hideManager);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user