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

Commit 988b4f6f authored by Sumedh Sen's avatar Sumedh Sen Committed by Android (Google) Code Review
Browse files

Merge "Do not proceed if confirmation snippet is not processed." into main

parents faa5e05b f474c5c3
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -446,6 +446,9 @@ class InstallRepository(private val context: Context) {
        // Returns InstallUserActionRequired stage if install details could be successfully
        // computed, else it returns InstallAborted.
        val confirmationSnippet: InstallStage = generateConfirmationSnippet()
        if (confirmationSnippet.stageCode == InstallStage.STAGE_ABORTED) {
            return confirmationSnippet
        }

        val existingUpdateOwner: CharSequence? = getExistingUpdateOwner(newPackageInfo!!)
        return if (sessionId == SessionInfo.INVALID_ID &&