DevelopmentSettings: Remove system update and other prefs

Moved to just disabling most of the controllers for android10
instead of deleting all the preferences.

Change-Id: If4d73b6c5351d8f39fb672713dbe26ff9a225240
Signed-off-by: Jason Edson <jaysonedson@gmail.com>
Signed-off-by: Joey Huab <joey@evolution-x.org>
Signed-off-by: Dmitrii <bankersenator@gmail.com>
This commit is contained in:
Jason Edson
2018-08-20 15:44:29 -07:00
committed by Joey
parent 4950816c14
commit 95c7375afc
5 changed files with 3 additions and 19 deletions

View File

@@ -53,8 +53,7 @@ public class SystemServerHeapDumpPreferenceController extends DeveloperOptionsPr
@Override
public boolean isAvailable() {
return Build.IS_DEBUGGABLE
&& !mUserManager.hasUserRestriction(UserManager.DISALLOW_DEBUGGING_FEATURES);
return false;
}
@Override