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

This commit is contained in:
TreeHugger Robot
2022-01-21 15:44:55 +00:00
committed by Android (Google) Code Review

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;
}