OSDN Git Service

Add log when we are trying to dismiss keyguard
authorJorim Jaggi <jjaggi@google.com>
Tue, 18 Jul 2017 12:05:19 +0000 (14:05 +0200)
committerJorim Jaggi <jjaggi@google.com>
Tue, 18 Jul 2017 15:21:06 +0000 (17:21 +0200)
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

index 372d80d..58e71df 100644 (file)
@@ -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.