Loading services/core/java/com/android/server/pm/PackageInstallerSession.java +3 −4 Original line number Diff line number Diff line Loading @@ -1873,7 +1873,7 @@ public class PackageInstallerSession extends IPackageInstallerSession.Stub { } mStagingManager.abortCommittedSession(this); //TODO(b/123624108): delete staging dir cleanStageDir(); } if (mRelinquished) { Loading Loading @@ -2096,9 +2096,8 @@ public class PackageInstallerSession extends IPackageInstallerSession.Stub { } } // For staged sessions, we don't delete the directory where the packages have been copied, // since these packages are supposed to be read on reboot. StagingManager is in charge of // deleting these dirs when the staged session has reached a final state. // TODO(b/118865310): Implement packageDir deletion in StagingManager. // since these packages are supposed to be read on reboot. // Those dirs are deleted when the staged session has reached a final state. if (stageDir != null && !params.isStaged) { try { mPm.mInstaller.rmPackageDir(stageDir.getAbsolutePath()); Loading Loading
services/core/java/com/android/server/pm/PackageInstallerSession.java +3 −4 Original line number Diff line number Diff line Loading @@ -1873,7 +1873,7 @@ public class PackageInstallerSession extends IPackageInstallerSession.Stub { } mStagingManager.abortCommittedSession(this); //TODO(b/123624108): delete staging dir cleanStageDir(); } if (mRelinquished) { Loading Loading @@ -2096,9 +2096,8 @@ public class PackageInstallerSession extends IPackageInstallerSession.Stub { } } // For staged sessions, we don't delete the directory where the packages have been copied, // since these packages are supposed to be read on reboot. StagingManager is in charge of // deleting these dirs when the staged session has reached a final state. // TODO(b/118865310): Implement packageDir deletion in StagingManager. // since these packages are supposed to be read on reboot. // Those dirs are deleted when the staged session has reached a final state. if (stageDir != null && !params.isStaged) { try { mPm.mInstaller.rmPackageDir(stageDir.getAbsolutePath()); Loading