Merge "Fix Bouncer-Showing Status." into sc-dev
This commit is contained in:
@@ -367,6 +367,10 @@ public class KeyguardBouncer {
|
|||||||
return mShowingSoon || mExpansion != EXPANSION_HIDDEN && mExpansion != EXPANSION_VISIBLE;
|
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
|
* @return {@code true} when bouncer's pre-hide animation already started but isn't completely
|
||||||
* hidden yet, {@code false} otherwise.
|
* hidden yet, {@code false} otherwise.
|
||||||
|
|||||||
@@ -857,7 +857,7 @@ public class StatusBarKeyguardViewManager implements RemoteInputController.Callb
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean bouncerIsOrWillBeShowing() {
|
public boolean bouncerIsOrWillBeShowing() {
|
||||||
return mBouncer.isShowing() || mBouncer.inTransit();
|
return mBouncer.isShowing() || mBouncer.getShowingSoon();
|
||||||
}
|
}
|
||||||
|
|
||||||
public boolean isFullscreenBouncer() {
|
public boolean isFullscreenBouncer() {
|
||||||
|
|||||||
Reference in New Issue
Block a user