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

Commit f283038d authored by Sherry Zhou's avatar Sherry Zhou Committed by Automerger Merge Worker
Browse files

Merge "Add log to detect if hideKeyguardImpl is called when KeyguardStatusView...

Merge "Add log to detect if hideKeyguardImpl is called when KeyguardStatusView disappear" into udc-qpr-dev am: 4d41d656 am: 7ca847a9

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



Change-Id: Icb5997087acd8d4e096a298e4572c15f4a72077c
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents b641677d 7ca847a9
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -2174,10 +2174,16 @@ public class CentralSurfacesImpl implements CoreStartable, CentralSurfaces {
            //  * When phone is unlocked: we still don't want to execute hiding of the keyguard
            //    as the animation could prepare 'fake AOD' interface (without actually
            //    transitioning to keyguard state) and this might reset the view states
            // Log for b/290627350
            Log.d(TAG, "!shouldBeKeyguard mStatusBarStateController.isKeyguardRequested() "
                    + mStatusBarStateController.isKeyguardRequested() + " keyguardForDozing "
                    + keyguardForDozing + " wakeAndUnlocking " + wakeAndUnlocking
                    + " isWakingAndOccluded " + isWakingAndOccluded);
            if (!mScreenOffAnimationController.isKeyguardHideDelayed()
                    // If we're animating occluded, there's an activity launching over the keyguard
                    // UI. Wait to hide it until after the animation concludes.
                    && !mKeyguardViewMediator.isOccludeAnimationPlaying()) {
                Log.d(TAG, "hideKeyguardImpl " + forceStateChange);
                return hideKeyguardImpl(forceStateChange);
            }
        }