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

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

Change-Id: I5f57d9ff1f71dd2e78af5e3accf7f5df6f5ffd46
This commit is contained in:
TreeHugger Robot
2022-01-21 15:57:26 +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;
}