Merge "Move onKeyguardChangded() to completeUnlockUser() (async)" into rvc-dev

This commit is contained in:
TreeHugger Robot
2020-06-19 06:04:28 +00:00
committed by Android (Google) Code Review

View File

@@ -1141,8 +1141,6 @@ class StorageManagerService extends IStorageManager.Stub
Slog.wtf(TAG, e); Slog.wtf(TAG, e);
} }
onKeyguardStateChanged(false);
mHandler.obtainMessage(H_COMPLETE_UNLOCK_USER, userId).sendToTarget(); mHandler.obtainMessage(H_COMPLETE_UNLOCK_USER, userId).sendToTarget();
} }
@@ -1154,6 +1152,8 @@ class StorageManagerService extends IStorageManager.Stub
mPmInternal.migrateLegacyObbData(); mPmInternal.migrateLegacyObbData();
} }
onKeyguardStateChanged(false);
// Record user as started so newly mounted volumes kick off events // Record user as started so newly mounted volumes kick off events
// correctly, then synthesize events for any already-mounted volumes. // correctly, then synthesize events for any already-mounted volumes.
synchronized (mLock) { synchronized (mLock) {