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

Commit 85eaea94 authored by Yi Jiang's avatar Yi Jiang Committed by Automerger Merge Worker
Browse files

Merge "Don't cancel the previous request if it's fulfilled." into sc-dev am: 792a32cb

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15132413

Change-Id: Ia7bc0b25dde9088d784a0e9334c15a6f73ed4700
parents bea4bac0 792a32cb
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -109,7 +109,7 @@ final class RotationResolverManagerPerUserService extends
        ensureRemoteServiceInitiated();
        ensureRemoteServiceInitiated();


        // Cancel the previous on-going request.
        // Cancel the previous on-going request.
        if (mCurrentRequest != null) {
        if (mCurrentRequest != null && !mCurrentRequest.mIsFulfilled) {
            cancelLocked();
            cancelLocked();
        }
        }