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

Commit 74a8ccee authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "[ADI] treat timeout/disconnect/infeasible as incomplete_unknown" into main

parents 068149dd 2ed3c588
Loading
Loading
Loading
Loading
+3 −6
Original line number Diff line number Diff line
@@ -3434,8 +3434,7 @@ public class PackageInstallerSession extends IPackageInstallerSession.Stub {
                synchronized (mMetrics) {
                    mMetrics.onDeveloperVerificationFinished(mDeveloperVerificationStatusInternal);
                }
                if (mCurrentVerificationPolicy.get()
                        != DEVELOPER_VERIFICATION_POLICY_BLOCK_FAIL_CLOSED) {
                if (mCurrentVerificationPolicy.get() == DEVELOPER_VERIFICATION_POLICY_NONE) {
                    // Continue with the rest of the verification and installation.
                    mFuture.complete(DeveloperVerificationFutureResult.ofSuccess());
                    return;
@@ -3470,8 +3469,7 @@ public class PackageInstallerSession extends IPackageInstallerSession.Stub {
                synchronized (mMetrics) {
                    mMetrics.onDeveloperVerificationFinished(mDeveloperVerificationStatusInternal);
                }
                if (mCurrentVerificationPolicy.get()
                        != DEVELOPER_VERIFICATION_POLICY_BLOCK_FAIL_CLOSED) {
                if (mCurrentVerificationPolicy.get() == DEVELOPER_VERIFICATION_POLICY_NONE) {
                    // Continue with the rest of the verification and installation.
                    mFuture.complete(DeveloperVerificationFutureResult.ofSuccess());
                    return;
@@ -3518,8 +3516,7 @@ public class PackageInstallerSession extends IPackageInstallerSession.Stub {
                synchronized (mMetrics) {
                    mMetrics.onDeveloperVerificationFinished(mDeveloperVerificationStatusInternal);
                }
                if (mCurrentVerificationPolicy.get()
                        != DEVELOPER_VERIFICATION_POLICY_BLOCK_FAIL_CLOSED) {
                if (mCurrentVerificationPolicy.get() == DEVELOPER_VERIFICATION_POLICY_NONE) {
                    // Continue with the rest of the verification and installation.
                    mFuture.complete(DeveloperVerificationFutureResult.ofSuccess());
                    return;