Add bug references to TODO.

Test: n/a
Bug: 118865310
Change-Id: Iecba2d48f3171fef4e76e12077236936056fe9fd
This commit is contained in:
Dario Freni
2018-12-17 12:32:08 +00:00
parent 4e172cc512
commit efbf2515ae

View File

@@ -165,6 +165,7 @@ public class PackageInstallerService extends IPackageInstaller.Stub implements
// STOPSHIP: This is a temporary mock implementation of staged sessions. This variable
// shouldn't be needed at all.
// TODO(b/118865310): Implement staged sessions logic.
@GuardedBy("mStagedSessions")
private final SparseArray<PackageInstallerSession> mStagedSessions = new SparseArray<>();
@@ -1130,7 +1131,7 @@ public class PackageInstallerService extends IPackageInstaller.Stub implements
mInstallHandler.post(new Runnable() {
@Override
public void run() {
// TODO: remove this mock implementation.
// TODO(b/118865310): remove this mock implementation.
if (session.isStaged()) {
// If the session is aborted, don't keep it in memory. Only store
// sessions successfully staged.