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

Commit e8ae62c0 authored by Eric Biggers's avatar Eric Biggers
Browse files

LockSettingsService: remove TODO for getCredentialTypeInternal()

The TODO for getCredentialTypeInternal() was added by ag/9569544
("Introduce Lockscreen PIN credential as first-class citizen"), which
predated ag/16692269 ("Add a binder cache to
ILockSettings#getCredentialType").  As the latter change effectively
addressed the TODO, remove the TODO.

Test: N/A
Change-Id: Ia9a33053f9e0db030bfd4272c2c4318278f896a4
parent d9394d80
Loading
Loading
Loading
Loading
+0 −1
Original line number Original line Diff line number Diff line
@@ -1317,7 +1317,6 @@ public class LockSettingsService extends ILockSettings.Stub {
        return getCredentialTypeInternal(userId);
        return getCredentialTypeInternal(userId);
    }
    }


    // TODO: this is a hot path, can we optimize it?
    /**
    /**
     * Returns the credential type of the user, can be one of {@link #CREDENTIAL_TYPE_NONE},
     * Returns the credential type of the user, can be one of {@link #CREDENTIAL_TYPE_NONE},
     * {@link #CREDENTIAL_TYPE_PATTERN}, {@link #CREDENTIAL_TYPE_PIN} and
     * {@link #CREDENTIAL_TYPE_PATTERN}, {@link #CREDENTIAL_TYPE_PIN} and