diff options
author | Jim Miller <jaggies@google.com> | 2015-07-08 19:02:28 -0700 |
---|---|---|
committer | Jim Miller <jaggies@google.com> | 2015-07-09 03:19:31 +0000 |
commit | 748bc36f2eebfdc67520c5025b48fefdfd8d7c01 (patch) | |
tree | 7ff7d6b1676698a02201b276921e8caeac147ff4 | |
parent | 348988c5704a5a6eb6aec093e295c2d9f00ee33c (diff) | |
download | frameworks_base-748bc36f2eebfdc67520c5025b48fefdfd8d7c01.zip frameworks_base-748bc36f2eebfdc67520c5025b48fefdfd8d7c01.tar.gz frameworks_base-748bc36f2eebfdc67520c5025b48fefdfd8d7c01.tar.bz2 |
Remove "final" qualifier from AuthenticationResult
This allows mock implementations to be created for testing
purposes.
Fixes bug 22362080
Change-Id: I5ff002c077d22b1338f2f4e394ad19827bb2ae9c
-rw-r--r-- | api/current.txt | 2 | ||||
-rw-r--r-- | api/system-current.txt | 2 | ||||
-rw-r--r-- | core/java/android/hardware/fingerprint/FingerprintManager.java | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/api/current.txt b/api/current.txt index af95867..e5b190c 100644 --- a/api/current.txt +++ b/api/current.txt @@ -13916,7 +13916,7 @@ package android.hardware.fingerprint { method public void onAuthenticationSucceeded(android.hardware.fingerprint.FingerprintManager.AuthenticationResult); } - public static final class FingerprintManager.AuthenticationResult { + public static class FingerprintManager.AuthenticationResult { method public android.hardware.fingerprint.FingerprintManager.CryptoObject getCryptoObject(); } diff --git a/api/system-current.txt b/api/system-current.txt index 9fce166..18cde08 100644 --- a/api/system-current.txt +++ b/api/system-current.txt @@ -14256,7 +14256,7 @@ package android.hardware.fingerprint { method public void onAuthenticationSucceeded(android.hardware.fingerprint.FingerprintManager.AuthenticationResult); } - public static final class FingerprintManager.AuthenticationResult { + public static class FingerprintManager.AuthenticationResult { method public android.hardware.fingerprint.FingerprintManager.CryptoObject getCryptoObject(); } diff --git a/core/java/android/hardware/fingerprint/FingerprintManager.java b/core/java/android/hardware/fingerprint/FingerprintManager.java index 15c7aaf..c5f142a 100644 --- a/core/java/android/hardware/fingerprint/FingerprintManager.java +++ b/core/java/android/hardware/fingerprint/FingerprintManager.java @@ -254,7 +254,7 @@ public class FingerprintManager { * Container for callback data from {@link FingerprintManager#authenticate(CryptoObject, * CancellationSignal, int, AuthenticationCallback, Handler)}. */ - public static final class AuthenticationResult { + public static class AuthenticationResult { private Fingerprint mFingerprint; private CryptoObject mCryptoObject; |