Merge "Fix issue where bouncer won't be dismissed when being dragged" into qt-r1-dev
This commit is contained in:
@@ -346,10 +346,10 @@ public class KeyguardBouncer {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* {@link #show(boolean)} was called but we're not showing yet.
|
* {@link #show(boolean)} was called but we're not showing yet, or being dragged.
|
||||||
*/
|
*/
|
||||||
public boolean willShowSoon() {
|
public boolean inTransit() {
|
||||||
return mShowingSoon;
|
return mShowingSoon || mExpansion != EXPANSION_HIDDEN;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -719,7 +719,7 @@ public class StatusBarKeyguardViewManager implements RemoteInputController.Callb
|
|||||||
* animation didn't finish yet.
|
* animation didn't finish yet.
|
||||||
*/
|
*/
|
||||||
public boolean bouncerIsOrWillBeShowing() {
|
public boolean bouncerIsOrWillBeShowing() {
|
||||||
return mBouncer.isShowing() || mBouncer.willShowSoon();
|
return mBouncer.isShowing() || mBouncer.inTransit();
|
||||||
}
|
}
|
||||||
|
|
||||||
public boolean isFullscreenBouncer() {
|
public boolean isFullscreenBouncer() {
|
||||||
|
|||||||
Reference in New Issue
Block a user