Use Settings.Global.putInt for PACKAGE_VERIFIER_ENABLE
am: 49726b1115
Change-Id: I802090716f29485f8f73eb81a78b28d62989ae11
This commit is contained in:
@@ -340,9 +340,8 @@ public class RetailDemoModeService extends SystemService {
|
||||
UserHandle.SYSTEM);
|
||||
Settings.Secure.putIntForUser(getContext().getContentResolver(),
|
||||
Settings.Secure.SKIP_FIRST_USE_HINTS, 1, userInfo.id);
|
||||
Settings.Secure.putIntForUser(getContext().getContentResolver(),
|
||||
Settings.Global.PACKAGE_VERIFIER_ENABLE, 0, userInfo.id);
|
||||
|
||||
Settings.Global.putInt(getContext().getContentResolver(),
|
||||
Settings.Global.PACKAGE_VERIFIER_ENABLE, 0);
|
||||
grantRuntimePermissionToCamera(user);
|
||||
clearPrimaryCallLog();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user