From 94e15a59b757678949cccb5d783bee1638e84697 Mon Sep 17 00:00:00 2001 From: Adrian Roos Date: Thu, 16 Apr 2015 12:23:18 -0700 Subject: Allow dismissing Keyguard from TrustAgentService Bug: 19900313 Change-Id: I44d13ee6fe65070327076e73a3ed96c94acdc108 --- .../src/com/android/systemui/keyguard/KeyguardViewMediator.java | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'packages/SystemUI') diff --git a/packages/SystemUI/src/com/android/systemui/keyguard/KeyguardViewMediator.java b/packages/SystemUI/src/com/android/systemui/keyguard/KeyguardViewMediator.java index 97a4c55..f16fb5c 100644 --- a/packages/SystemUI/src/com/android/systemui/keyguard/KeyguardViewMediator.java +++ b/packages/SystemUI/src/com/android/systemui/keyguard/KeyguardViewMediator.java @@ -505,6 +505,11 @@ public class KeyguardViewMediator extends SystemUI { public boolean isInputRestricted() { return KeyguardViewMediator.this.isInputRestricted(); } + + @Override + public boolean isScreenOn() { + return mScreenOn; + } }; public void userActivity() { -- cgit v1.1