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

Commit d7172c2a authored by Pavel Grafov's avatar Pavel Grafov Committed by android-build-merger
Browse files

Merge "Mark profile password key as critical." into oc-dr1-dev

am: 56385a79

Change-Id: Ifc9e96958b43f29dd60aea801c3d8c586c651735
parents b11b64a4 56385a79
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -1235,6 +1235,7 @@ public class LockSettingsService extends ILockSettings.Stub {
                                .setEncryptionPaddings(KeyProperties.ENCRYPTION_PADDING_NONE)
                                .setUserAuthenticationRequired(true)
                                .setUserAuthenticationValidityDurationSeconds(30)
                                .setCriticalToDeviceEncryption(true)
                                .build());
                // Key imported, obtain a reference to it.
                SecretKey keyStoreEncryptionKey = (SecretKey) keyStore.getKey(