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

Commit e4c58e46 authored by Jim Miller's avatar Jim Miller
Browse files

Add documentation for possible AndroidKeyStore exceptions to authenticate() call

Fixes bug 20864436

Change-Id: Ic3f7406a8a6f41283ccd63018787a20353510024
parent 800ebfc1
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -396,6 +396,11 @@ public class FingerprintManager {
     * @param flags optional flags; should be 0
     * @param callback an object to receive authentication events
     * @param handler an optional handler to handle callback events
     *
     * @throws IllegalArgumentException if the crypto operation is not supported or is not backed
     *         by <a href="{@docRoot}training/articles/keystore.html">Android Keystore
     *         facility</a>.
     * @throws IllegalStateException if the crypto primitive is not initialized.
     */
    @RequiresPermission(USE_FINGERPRINT)
    public void authenticate(@Nullable CryptoObject crypto, @Nullable CancellationSignal cancel,