Move restriction check for dev settings into controller
Change-Id: I99dae6e82aca40b92e1965ba7db2c54f3c59d33f Fixes: 72815875 Test: robotests
This commit is contained in:
@@ -813,7 +813,6 @@ public class SettingsActivity extends SettingsDrawerActivity
|
||||
|| somethingChanged;
|
||||
|
||||
final boolean showDev = DevelopmentSettingsEnabler.isDevelopmentSettingsEnabled(this)
|
||||
&& !um.hasUserRestriction(UserManager.DISALLOW_DEBUGGING_FEATURES)
|
||||
&& !Utils.isMonkeyRunning();
|
||||
|
||||
somethingChanged = setTileEnabled(new ComponentName(packageName,
|
||||
|
Reference in New Issue
Block a user