Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ba74232c authored by Fyodor Kupolov's avatar Fyodor Kupolov Committed by android-build-merger
Browse files

Use Settings.Global.putInt for PACKAGE_VERIFIER_ENABLE am: 49726b11

am: d14db617

Change-Id: Idcb2376b808672b40ce29205b83312e84a7b5315
parents 1231ab94 d14db617
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -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();
    }