Merge "Disable DevelopmentSettingsActivity by default"
This commit is contained in:
committed by
Android (Google) Code Review
commit
03b2d4c44c
@@ -835,7 +835,8 @@ public class SettingsActivity extends SettingsDrawerActivity
|
||||
|| somethingChanged;
|
||||
|
||||
final boolean showDev = DevelopmentSettingsEnabler.isDevelopmentSettingsEnabled(this)
|
||||
&& !um.hasUserRestriction(UserManager.DISALLOW_DEBUGGING_FEATURES);
|
||||
&& !um.hasUserRestriction(UserManager.DISALLOW_DEBUGGING_FEATURES)
|
||||
&& !Utils.isMonkeyRunning();
|
||||
|
||||
somethingChanged = setTileEnabled(new ComponentName(packageName,
|
||||
Settings.DevelopmentSettingsDashboardActivity.class.getName()),
|
||||
|
Reference in New Issue
Block a user