Loading services/core/java/com/android/server/am/UserController.java +6 −6 Original line number Diff line number Diff line Loading @@ -671,12 +671,6 @@ final class UserController { } if (stopped) { // Evict the user's credential encryption key try { getStorageManager().lockUserKey(userId); } catch (RemoteException re) { throw re.rethrowAsRuntimeException(); } mInjector.systemServiceManagerCleanupUser(userId); synchronized (mLock) { mInjector.getActivityStackSupervisor().removeUserLocked(userId); Loading @@ -685,6 +679,12 @@ final class UserController { if (getUserInfo(userId).isEphemeral()) { mInjector.getUserManager().removeUser(userId); } // Evict the user's credential encryption key. try { getStorageManager().lockUserKey(userId); } catch (RemoteException re) { throw re.rethrowAsRuntimeException(); } } } Loading Loading
services/core/java/com/android/server/am/UserController.java +6 −6 Original line number Diff line number Diff line Loading @@ -671,12 +671,6 @@ final class UserController { } if (stopped) { // Evict the user's credential encryption key try { getStorageManager().lockUserKey(userId); } catch (RemoteException re) { throw re.rethrowAsRuntimeException(); } mInjector.systemServiceManagerCleanupUser(userId); synchronized (mLock) { mInjector.getActivityStackSupervisor().removeUserLocked(userId); Loading @@ -685,6 +679,12 @@ final class UserController { if (getUserInfo(userId).isEphemeral()) { mInjector.getUserManager().removeUser(userId); } // Evict the user's credential encryption key. try { getStorageManager().lockUserKey(userId); } catch (RemoteException re) { throw re.rethrowAsRuntimeException(); } } } Loading