Loading services/core/java/com/android/server/locksettings/recoverablekeystore/PlatformKeyManager.java +2 −2 Original line number Diff line number Diff line Loading @@ -146,7 +146,6 @@ public class PlatformKeyManager { public void regenerate() throws NoSuchAlgorithmException, KeyStoreException { int nextId = getGenerationId() + 1; generateAndLoadKey(nextId); setGenerationId(nextId); } /** Loading Loading @@ -219,7 +218,6 @@ public class PlatformKeyManager { } generateAndLoadKey(generationId); mDatabase.setPlatformKeyGenerationId(mUserId, generationId); } /** Loading Loading @@ -301,6 +299,8 @@ public class PlatformKeyManager { .setBoundToSpecificSecureUserId(mUserId) .build()); setGenerationId(generationId); try { secretKey.destroy(); } catch (DestroyFailedException e) { Loading Loading
services/core/java/com/android/server/locksettings/recoverablekeystore/PlatformKeyManager.java +2 −2 Original line number Diff line number Diff line Loading @@ -146,7 +146,6 @@ public class PlatformKeyManager { public void regenerate() throws NoSuchAlgorithmException, KeyStoreException { int nextId = getGenerationId() + 1; generateAndLoadKey(nextId); setGenerationId(nextId); } /** Loading Loading @@ -219,7 +218,6 @@ public class PlatformKeyManager { } generateAndLoadKey(generationId); mDatabase.setPlatformKeyGenerationId(mUserId, generationId); } /** Loading Loading @@ -301,6 +299,8 @@ public class PlatformKeyManager { .setBoundToSpecificSecureUserId(mUserId) .build()); setGenerationId(generationId); try { secretKey.destroy(); } catch (DestroyFailedException e) { Loading