Loading services/core/java/com/android/server/locksettings/LockSettingsService.java +3 −2 Original line number Original line Diff line number Diff line Loading @@ -1142,12 +1142,13 @@ public class LockSettingsService extends ILockSettings.Stub { continue; continue; } } try { try { result.put(userId, getDecryptedPasswordForTiedProfile(userId)); result.put(managedUserId, getDecryptedPasswordForTiedProfile(managedUserId)); } catch (KeyStoreException | UnrecoverableKeyException | NoSuchAlgorithmException } catch (KeyStoreException | UnrecoverableKeyException | NoSuchAlgorithmException | NoSuchPaddingException | InvalidKeyException | NoSuchPaddingException | InvalidKeyException | InvalidAlgorithmParameterException | IllegalBlockSizeException | InvalidAlgorithmParameterException | IllegalBlockSizeException | BadPaddingException | CertificateException | IOException e) { | BadPaddingException | CertificateException | IOException e) { // ignore Slog.e(TAG, "getDecryptedPasswordsForAllTiedProfiles failed for user " + managedUserId, e); } } } } return result; return result; Loading Loading
services/core/java/com/android/server/locksettings/LockSettingsService.java +3 −2 Original line number Original line Diff line number Diff line Loading @@ -1142,12 +1142,13 @@ public class LockSettingsService extends ILockSettings.Stub { continue; continue; } } try { try { result.put(userId, getDecryptedPasswordForTiedProfile(userId)); result.put(managedUserId, getDecryptedPasswordForTiedProfile(managedUserId)); } catch (KeyStoreException | UnrecoverableKeyException | NoSuchAlgorithmException } catch (KeyStoreException | UnrecoverableKeyException | NoSuchAlgorithmException | NoSuchPaddingException | InvalidKeyException | NoSuchPaddingException | InvalidKeyException | InvalidAlgorithmParameterException | IllegalBlockSizeException | InvalidAlgorithmParameterException | IllegalBlockSizeException | BadPaddingException | CertificateException | IOException e) { | BadPaddingException | CertificateException | IOException e) { // ignore Slog.e(TAG, "getDecryptedPasswordsForAllTiedProfiles failed for user " + managedUserId, e); } } } } return result; return result; Loading