Merge "Allow extra keyguard logs to be enabled via adb" into sc-v2-dev am: c5e184b550 am: b287cd5163

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/16681376

Change-Id: I8e072b4bf7b31826d629fb0d6f9ffe790d5f225d
This commit is contained in:
TreeHugger Robot
2022-01-21 16:16:37 +00:00
committed by Automerger Merge Worker

View File

@@ -16,6 +16,8 @@
package com.android.keyguard;
import android.util.Log;
/**
* Defines constants for the Keyguard.
*/
@@ -25,7 +27,7 @@ public class KeyguardConstants {
* Turns on debugging information for the whole Keyguard. This is very verbose and should only
* be used temporarily for debugging.
*/
public static final boolean DEBUG = false;
public static final boolean DEBUG = Log.isLoggable("Keyguard", Log.DEBUG);
public static final boolean DEBUG_SIM_STATES = true;
public static final boolean DEBUG_BIOMETRIC_WAKELOCK = true;
}