diff options
| author | 2024-05-23 04:19:11 +0000 | |
|---|---|---|
| committer | 2024-05-23 04:19:11 +0000 | |
| commit | ab2ec4ef5ba13c917b45083232fbe7a8c373d8dd (patch) | |
| tree | c450dd2c9048aeb2e96d1030280ff96dfd7b6da3 | |
| parent | 261ac1ca499ca13fd15b405a7b8a48810fc8c778 (diff) | |
| parent | 804101b8047e255a102659ef8006f3f296efa7fe (diff) | |
Merge "Revert "Deprecate uses of Android Protected Confirmation"" into main am: 8089347daf am: 804101b804
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/3093804
Change-Id: I6a8c52a09d0dd671c3f1cdc4484fad39069ea568
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
| -rw-r--r-- | keystore/java/android/security/AndroidProtectedConfirmation.java | 15 | 
1 files changed, 0 insertions, 15 deletions
diff --git a/keystore/java/android/security/AndroidProtectedConfirmation.java b/keystore/java/android/security/AndroidProtectedConfirmation.java index 268e0a54053b..dfe485ac8274 100644 --- a/keystore/java/android/security/AndroidProtectedConfirmation.java +++ b/keystore/java/android/security/AndroidProtectedConfirmation.java @@ -59,10 +59,6 @@ public class AndroidProtectedConfirmation {      /**       * Requests keystore call into the confirmationui HAL to display a prompt. -     * @deprecated Android Protected Confirmation had a low adoption rate among Android device -     *             makers and developers alike. Given the lack of devices supporting the -     *             feature, it is deprecated. Developers can use auth-bound Keystore keys -     *             as a partial replacement.       *       * @param listener the binder to use for callbacks.       * @param promptText the prompt to display. @@ -72,7 +68,6 @@ public class AndroidProtectedConfirmation {       * @return one of the {@code CONFIRMATIONUI_*} constants, for       * example {@code KeyStore.CONFIRMATIONUI_OK}.       */ -    @Deprecated      public int presentConfirmationPrompt(IConfirmationCallback listener, String promptText,                                           byte[] extraData, String locale, int uiOptionsAsFlags) {          try { @@ -89,16 +84,11 @@ public class AndroidProtectedConfirmation {      /**       * Requests keystore call into the confirmationui HAL to cancel displaying a prompt. -     * @deprecated Android Protected Confirmation had a low adoption rate among Android device -     *             makers and developers alike. Given the lack of devices supporting the -     *             feature, it is deprecated. Developers can use auth-bound Keystore keys -     *             as a partial replacement.       *       * @param listener the binder passed to the {@link #presentConfirmationPrompt} method.       * @return one of the {@code CONFIRMATIONUI_*} constants, for       * example {@code KeyStore.CONFIRMATIONUI_OK}.       */ -    @Deprecated      public int cancelConfirmationPrompt(IConfirmationCallback listener) {          try {              getService().cancelPrompt(listener); @@ -113,14 +103,9 @@ public class AndroidProtectedConfirmation {      /**       * Requests keystore to check if the confirmationui HAL is available. -     * @deprecated Android Protected Confirmation had a low adoption rate among Android device -     *             makers and developers alike. Given the lack of devices supporting the -     *             feature, it is deprecated. Developers can use auth-bound Keystore keys -     *             as a partial replacement.       *       * @return whether the confirmationUI HAL is available.       */ -    @Deprecated      public boolean isConfirmationPromptSupported() {          try {              return getService().isSupported();  |