Merge "Clarify doc comment for setUnlockedDeviceRequired" am: a0976a1207 am: f6354a20d5

Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2060058

Change-Id: I4f5e764a5611d69557ced8afb4c33f4040e79b07
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
David Drysdale
2022-04-13 08:37:00 +00:00
committed by Automerger Merge Worker

View File

@@ -1637,8 +1637,8 @@ public final class KeyGenParameterSpec implements AlgorithmParameterSpec, UserAu
* Sets whether the keystore requires the screen to be unlocked before allowing decryption * Sets whether the keystore requires the screen to be unlocked before allowing decryption
* using this key. If this is set to {@code true}, any attempt to decrypt or sign using this * using this key. If this is set to {@code true}, any attempt to decrypt or sign using this
* key while the screen is locked will fail. A locked device requires a PIN, password, * key while the screen is locked will fail. A locked device requires a PIN, password,
* biometric, or other trusted factor to access. While the screen is locked, the key can * biometric, or other trusted factor to access. While the screen is locked, any associated
* still be used for encryption or signature verification. * public key can still be used (e.g for signature verification).
*/ */
@NonNull @NonNull
public Builder setUnlockedDeviceRequired(boolean unlockedDeviceRequired) { public Builder setUnlockedDeviceRequired(boolean unlockedDeviceRequired) {