Loading services/core/java/com/android/server/pm/Installer.java +11 −0 Original line number Diff line number Diff line Loading @@ -255,6 +255,17 @@ public class Installer extends SystemService { } } /** * Sets in Installd that it is first boot after data wipe */ public void setFirstBoot() throws InstallerException { try { mInstalld.setFirstBoot(); } catch (RemoteException e) { throw InstallerException.from(e); } } /** * Class that collects multiple {@code installd} operations together in an * attempt to more efficiently execute them in bulk. Loading services/core/java/com/android/server/pm/PackageManagerService.java +10 −0 Original line number Diff line number Diff line Loading @@ -7554,6 +7554,16 @@ public class PackageManagerService extends IPackageManager.Stub /* excludePreCreated= */ false)); t.traceEnd(); if (mFirstBoot) { t.traceBegin("setFirstBoot: "); try { mInstaller.setFirstBoot(); } catch (InstallerException e) { Slog.w(TAG, "Could not set First Boot: ", e); } t.traceEnd(); } mPermissionManager.readLegacyPermissionsTEMP(mSettings.mPermissions); mPermissionManager.readLegacyPermissionStateTEMP(); Loading
services/core/java/com/android/server/pm/Installer.java +11 −0 Original line number Diff line number Diff line Loading @@ -255,6 +255,17 @@ public class Installer extends SystemService { } } /** * Sets in Installd that it is first boot after data wipe */ public void setFirstBoot() throws InstallerException { try { mInstalld.setFirstBoot(); } catch (RemoteException e) { throw InstallerException.from(e); } } /** * Class that collects multiple {@code installd} operations together in an * attempt to more efficiently execute them in bulk. Loading
services/core/java/com/android/server/pm/PackageManagerService.java +10 −0 Original line number Diff line number Diff line Loading @@ -7554,6 +7554,16 @@ public class PackageManagerService extends IPackageManager.Stub /* excludePreCreated= */ false)); t.traceEnd(); if (mFirstBoot) { t.traceBegin("setFirstBoot: "); try { mInstaller.setFirstBoot(); } catch (InstallerException e) { Slog.w(TAG, "Could not set First Boot: ", e); } t.traceEnd(); } mPermissionManager.readLegacyPermissionsTEMP(mSettings.mPermissions); mPermissionManager.readLegacyPermissionStateTEMP();