Settings user restriction changes: debugging features.
Replacing restriction pin with a user restriction for developer options. Bug: 14081992 Change-Id: I9a71c256fbd20428b4bd2ae12939c9a50d7b5f11
This commit is contained in:
@@ -1067,7 +1067,8 @@ public class SettingsActivity extends Activity
|
||||
}
|
||||
}
|
||||
} else if (id == R.id.development_settings) {
|
||||
if (!showDev) {
|
||||
if (!showDev || um.hasUserRestriction(
|
||||
UserManager.DISALLOW_DEBUGGING_FEATURES)) {
|
||||
category.removeTile(n);
|
||||
}
|
||||
} else if (id == R.id.account_add) {
|
||||
|
Reference in New Issue
Block a user