Merge "Fix Bouncer-Showing Status." into sc-dev am: 89646f1b97

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

Change-Id: I7189b2797c7702d58e9d6222735a236908f4c9da
This commit is contained in:
Dave Mankoff
2021-07-02 16:28:10 +00:00
committed by Automerger Merge Worker
2 changed files with 5 additions and 1 deletions

View File

@@ -367,6 +367,10 @@ public class KeyguardBouncer {
return mShowingSoon || mExpansion != EXPANSION_HIDDEN && mExpansion != EXPANSION_VISIBLE;
}
public boolean getShowingSoon() {
return mShowingSoon;
}
/**
* @return {@code true} when bouncer's pre-hide animation already started but isn't completely
* hidden yet, {@code false} otherwise.

View File

@@ -857,7 +857,7 @@ public class StatusBarKeyguardViewManager implements RemoteInputController.Callb
@Override
public boolean bouncerIsOrWillBeShowing() {
return mBouncer.isShowing() || mBouncer.inTransit();
return mBouncer.isShowing() || mBouncer.getShowingSoon();
}
public boolean isFullscreenBouncer() {