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

Commit 23082aef authored by JW Wang's avatar JW Wang Committed by Android (Google) Code Review
Browse files

Merge "Remove #updateStoredSession (6/n)"

parents c89ecd7d 3792c8cb
Loading
Loading
Loading
Loading
+0 −12
Original line number Diff line number Diff line
@@ -164,17 +164,6 @@ public class StagingManager {
        }
    }

    private void updateStoredSession(@NonNull PackageInstallerSession sessionInfo) {
        synchronized (mStagedSessions) {
            PackageInstallerSession storedSession = mStagedSessions.get(sessionInfo.sessionId);
            // storedSession might be null if a call to abortSession was made before the session
            // is updated.
            if (storedSession != null) {
                mStagedSessions.put(sessionInfo.sessionId, sessionInfo);
            }
        }
    }

    private void markBootCompleted() {
        mApexManager.markBootCompleted();
    }
@@ -865,7 +854,6 @@ public class StagingManager {
    }

    void commitSession(@NonNull PackageInstallerSession session) {
        updateStoredSession(session);
        mPreRebootVerificationHandler.startPreRebootVerification(session);
    }