Loading packages/SystemUI/src/com/android/keyguard/KeyguardUpdateMonitor.java +1 −3 Original line number Diff line number Diff line Loading @@ -2691,9 +2691,7 @@ public class KeyguardUpdateMonitor implements TrustManager.TrustListener, Dumpab */ public boolean isUserUnlocked(int userId) { if (Flags.userEncryptedSource()) { boolean userStorageUnlocked = mUserManager.isUserUnlocked(userId); mLogger.logUserStorageUnlocked(userId, userStorageUnlocked); return userStorageUnlocked; return mUserManager.isUserUnlocked(userId); } else { return mUserIsUnlocked.get(userId); } Loading packages/SystemUI/src/com/android/keyguard/logging/KeyguardUpdateMonitorLogger.kt +0 −12 Original line number Diff line number Diff line Loading @@ -582,18 +582,6 @@ constructor(@KeyguardUpdateMonitorLog private val logBuffer: LogBuffer) { logBuffer.log(TAG, DEBUG, { int1 = userId }, { "userUnlocked userId: $int1" }) } fun logUserStorageUnlocked(userId: Int, result: Boolean) { logBuffer.log( TAG, DEBUG, { int1 = userId bool1 = result }, { "Invoked UserManager#isUserUnlocked $int1, result: $bool1" }, ) } fun logUserStopped(userId: Int, isUnlocked: Boolean) { logBuffer.log( TAG, Loading Loading
packages/SystemUI/src/com/android/keyguard/KeyguardUpdateMonitor.java +1 −3 Original line number Diff line number Diff line Loading @@ -2691,9 +2691,7 @@ public class KeyguardUpdateMonitor implements TrustManager.TrustListener, Dumpab */ public boolean isUserUnlocked(int userId) { if (Flags.userEncryptedSource()) { boolean userStorageUnlocked = mUserManager.isUserUnlocked(userId); mLogger.logUserStorageUnlocked(userId, userStorageUnlocked); return userStorageUnlocked; return mUserManager.isUserUnlocked(userId); } else { return mUserIsUnlocked.get(userId); } Loading
packages/SystemUI/src/com/android/keyguard/logging/KeyguardUpdateMonitorLogger.kt +0 −12 Original line number Diff line number Diff line Loading @@ -582,18 +582,6 @@ constructor(@KeyguardUpdateMonitorLog private val logBuffer: LogBuffer) { logBuffer.log(TAG, DEBUG, { int1 = userId }, { "userUnlocked userId: $int1" }) } fun logUserStorageUnlocked(userId: Int, result: Boolean) { logBuffer.log( TAG, DEBUG, { int1 = userId bool1 = result }, { "Invoked UserManager#isUserUnlocked $int1, result: $bool1" }, ) } fun logUserStopped(userId: Int, isUnlocked: Boolean) { logBuffer.log( TAG, Loading