Add documentation for possible AndroidKeyStore exceptions to authenticate() call

Fixes bug 20864436

Change-Id: Ic3f7406a8a6f41283ccd63018787a20353510024
This commit is contained in:
Jim Miller
2015-06-09 13:48:57 -07:00
parent 800ebfc166
commit e4c58e4641

View File

@@ -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,