Expose KeyguardMonitor.isOccluded().
Bug: 63806767 Test: runtest systemui Change-Id: I36b96974c7a27e31ddbc3e8cdddf2516cce87b21
This commit is contained in:
@@ -21,12 +21,13 @@ public interface KeyguardMonitor extends CallbackController<Callback> {
|
||||
boolean isSecure();
|
||||
boolean canSkipBouncer();
|
||||
boolean isShowing();
|
||||
boolean isOccluded();
|
||||
boolean isKeyguardFadingAway();
|
||||
boolean isKeyguardGoingAway();
|
||||
long getKeyguardFadingAwayDuration();
|
||||
long getKeyguardFadingAwayDelay();
|
||||
|
||||
public interface Callback {
|
||||
interface Callback {
|
||||
void onKeyguardShowingChanged();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -46,6 +46,11 @@ public class FakeKeyguardMonitor implements KeyguardMonitor {
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isOccluded() {
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isKeyguardFadingAway() {
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user