Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 13814c78 authored by Eric Biggers's avatar Eric Biggers Committed by Automerger Merge Worker
Browse files

locksettings: clean up logging of cached GK password expiration am: ad578e9b

parents d77c1ab0 ad578e9b
Loading
Loading
Loading
Loading
+5 −2
Original line number Diff line number Diff line
@@ -2728,9 +2728,12 @@ public class LockSettingsService extends ILockSettings.Stub {
        final long finalHandle = handle;
        mHandler.postDelayed(() -> {
            synchronized (mGatekeeperPasswords) {
                Slog.d(TAG, "Removing handle: " + 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);

        return handle;