Expose KeyguardMonitor.isOccluded().

Bug: 63806767
Test: runtest systemui

Change-Id: I36b96974c7a27e31ddbc3e8cdddf2516cce87b21
This commit is contained in:
Philip Quinn
2017-07-19 01:15:56 -07:00
parent 3789b629c7
commit 1659b400b5
2 changed files with 7 additions and 1 deletions

View File

@@ -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();
}
}

View File

@@ -46,6 +46,11 @@ public class FakeKeyguardMonitor implements KeyguardMonitor {
return false;
}
@Override
public boolean isOccluded() {
return false;
}
@Override
public boolean isKeyguardFadingAway() {
return false;