Loading services/core/java/com/android/server/locksettings/LockSettingsService.java +4 −4 Original line number Diff line number Diff line Loading @@ -1870,9 +1870,10 @@ public class LockSettingsService extends ILockSettings.Stub { } } private void onPostPasswordChanged(LockscreenCredential newCredential, int userHandle) { updatePasswordHistory(newCredential, userHandle); mContext.getSystemService(TrustManager.class).reportEnabledTrustAgentsChanged(userHandle); private void onPostPasswordChanged(LockscreenCredential newCredential, int userId) { updatePasswordHistory(newCredential, userId); mContext.getSystemService(TrustManager.class).reportEnabledTrustAgentsChanged(userId); sendMainUserCredentialChangedNotificationIfNeeded(userId); } /** Loading Loading @@ -3056,7 +3057,6 @@ public class LockSettingsService extends ILockSettings.Stub { setCurrentLskfBasedProtectorId(newProtectorId, userId); LockPatternUtils.invalidateCredentialTypeCache(); synchronizeUnifiedChallengeForProfiles(userId, profilePasswords); sendMainUserCredentialChangedNotificationIfNeeded(userId); setUserPasswordMetrics(credential, userId); mUnifiedProfilePasswordCache.removePassword(userId); Loading Loading
services/core/java/com/android/server/locksettings/LockSettingsService.java +4 −4 Original line number Diff line number Diff line Loading @@ -1870,9 +1870,10 @@ public class LockSettingsService extends ILockSettings.Stub { } } private void onPostPasswordChanged(LockscreenCredential newCredential, int userHandle) { updatePasswordHistory(newCredential, userHandle); mContext.getSystemService(TrustManager.class).reportEnabledTrustAgentsChanged(userHandle); private void onPostPasswordChanged(LockscreenCredential newCredential, int userId) { updatePasswordHistory(newCredential, userId); mContext.getSystemService(TrustManager.class).reportEnabledTrustAgentsChanged(userId); sendMainUserCredentialChangedNotificationIfNeeded(userId); } /** Loading Loading @@ -3056,7 +3057,6 @@ public class LockSettingsService extends ILockSettings.Stub { setCurrentLskfBasedProtectorId(newProtectorId, userId); LockPatternUtils.invalidateCredentialTypeCache(); synchronizeUnifiedChallengeForProfiles(userId, profilePasswords); sendMainUserCredentialChangedNotificationIfNeeded(userId); setUserPasswordMetrics(credential, userId); mUnifiedProfilePasswordCache.removePassword(userId); Loading