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

Commit cc416b6c authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Close databases in onStop user" into oc-dev

parents 582a8464 ce25ed29
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -158,8 +158,8 @@ public class AccountManagerService
        }

        @Override
        public void onCleanupUser(int userHandle) {
            mService.onCleanupUser(userHandle);
        public void onStopUser(int userHandle) {
            mService.onStopUser(userHandle);
        }
    }

@@ -1360,8 +1360,8 @@ public class AccountManagerService
    }


    private void onCleanupUser(int userId) {
        Log.i(TAG, "onCleanupUser " + userId);
    private void onStopUser(int userId) {
        Log.i(TAG, "onStopUser " + userId);
        UserAccounts accounts;
        synchronized (mUsers) {
            accounts = mUsers.get(userId);