summaryrefslogtreecommitdiff
path: root/cmds/wm
diff options
context:
space:
mode:
authorJorim Jaggi <jjaggi@google.com>2016-11-02 21:57:33 -0700
committerJorim Jaggi <jjaggi@google.com>2016-11-23 16:27:35 +0100
commit241ae10b2189f449e57d8d660235ac56d8fb1b80 (patch)
treea6048e4406bff9ffc789c5a9af53a0eeea0718a6 /cmds/wm
parentd4f9d37424752a0774cdf9190dc12887c70daec2 (diff)
Add explicit method to dismiss Keyguard
The flag is a bit clunky for most cases, and a method is more clear. Test: cts/hostsidetests/services/activityandwindowmanager/util/run-test android.server.cts.KeyguardTests Test: cts/hostsidetests/services/activityandwindowmanager/util/run-test android.server.cts.KeyguardLockedTests Test: runtest systemui -c com.android.systemui.keyguard.DismissCallbackRegistryTest Bug: 30961403 Bug: 27422134 Change-Id: I39de90c7cfecd99350a74f72cd76418e337f2b79
Diffstat (limited to 'cmds/wm')
-rw-r--r--cmds/wm/src/com/android/commands/wm/Wm.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmds/wm/src/com/android/commands/wm/Wm.java b/cmds/wm/src/com/android/commands/wm/Wm.java
index 84fb626cc4c6..8defb331e289 100644
--- a/cmds/wm/src/com/android/commands/wm/Wm.java
+++ b/cmds/wm/src/com/android/commands/wm/Wm.java
@@ -274,7 +274,7 @@ public class Wm extends BaseCommand {
}
private void runDismissKeyguard() throws Exception {
- mWm.dismissKeyguard();
+ mWm.dismissKeyguard(null /* callback */);
}
private int parseDimension(String s) throws NumberFormatException {