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

Commit d407c0be authored by Max Bires's avatar Max Bires
Browse files

Removing errant @hide annotation

There is no reason that setIsStrongBoxBacked() should be hidden for
KeyProtection. Users should be expected to take advantage of using
StrongBox for protecting imported keys if they choose to.

Bug: 148901504
Test: doc string change
Change-Id: Ie906cb75fd853d3465ff066493c6df50d68d7e9c
parent 95cb4043
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -42914,6 +42914,7 @@ package android.security.keystore {
    method @NonNull public android.security.keystore.KeyProtection.Builder setDigests(java.lang.String...);
    method @NonNull public android.security.keystore.KeyProtection.Builder setEncryptionPaddings(java.lang.String...);
    method @NonNull public android.security.keystore.KeyProtection.Builder setInvalidatedByBiometricEnrollment(boolean);
    method @NonNull public android.security.keystore.KeyProtection.Builder setIsStrongBoxBacked(boolean);
    method @NonNull public android.security.keystore.KeyProtection.Builder setKeyValidityEnd(java.util.Date);
    method @NonNull public android.security.keystore.KeyProtection.Builder setKeyValidityForConsumptionEnd(java.util.Date);
    method @NonNull public android.security.keystore.KeyProtection.Builder setKeyValidityForOriginationEnd(java.util.Date);
+0 −1
Original line number Diff line number Diff line
@@ -1031,7 +1031,6 @@ public final class KeyProtection implements ProtectionParameter, UserAuthArgs {

        /**
         * Sets whether this key should be protected by a StrongBox security chip.
         * @hide
         */
        @NonNull
        public Builder setIsStrongBoxBacked(boolean isStrongBoxBacked) {