Commit 0c239a42 authored by topjohnwu's avatar topjohnwu

Allow secondary users to control Superuser settings except multiuser options

parent e9322fba
......@@ -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);
}
......
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