From d72148901a5c8a30a86f88bcddeea641234d6f48 Mon Sep 17 00:00:00 2001 From: Jorim Jaggi Date: Tue, 18 Jul 2017 14:05:19 +0200 Subject: [PATCH] Add log when we are trying to dismiss keyguard Such that we can blame the app! Test: call requestDismissKeyguard, inspect logs Bug: 63745706 Change-Id: Ie257db2276839ba3491ee1b3cb642486331544c1 --- services/core/java/com/android/server/am/KeyguardController.java | 1 + 1 file changed, 1 insertion(+) diff --git a/services/core/java/com/android/server/am/KeyguardController.java b/services/core/java/com/android/server/am/KeyguardController.java index 372d80df928f..58e71df3ba57 100644 --- a/services/core/java/com/android/server/am/KeyguardController.java +++ b/services/core/java/com/android/server/am/KeyguardController.java @@ -143,6 +143,7 @@ class KeyguardController { failCallback(callback); return; } + Slog.i(TAG, "Activity requesting to dismiss Keyguard: " + activityRecord); // If the client has requested to dismiss the keyguard and the Activity has the flag to // turn the screen on, wakeup the screen if it's the top Activity. -- 2.11.0