locksettings: clean up logging of cached GK password expiration am: ad578e9b91
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/21724589 Change-Id: Ifb0fa0bb31a57a621e9074a69773bd97809d78e0 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -2728,8 +2728,11 @@ public class LockSettingsService extends ILockSettings.Stub {
|
||||
final long finalHandle = handle;
|
||||
mHandler.postDelayed(() -> {
|
||||
synchronized (mGatekeeperPasswords) {
|
||||
Slog.d(TAG, "Removing handle: " + finalHandle);
|
||||
mGatekeeperPasswords.remove(finalHandle);
|
||||
if (mGatekeeperPasswords.get(finalHandle) != null) {
|
||||
Slogf.d(TAG, "Cached Gatekeeper password with handle %016x has expired",
|
||||
finalHandle);
|
||||
mGatekeeperPasswords.remove(finalHandle);
|
||||
}
|
||||
}
|
||||
}, GK_PW_HANDLE_STORE_DURATION_MS);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user