Merge "Merge "Don't send HOME intent twice when booting from non-system user." into qt-qpr1-dev am: a58013ae18" into qt-qpr1-dev-plus-aosp
This commit is contained in:
committed by
Android (Google) Code Review
commit
18e0df163f
@@ -9055,7 +9055,13 @@ public class ActivityManagerService extends IActivityManager.Stub
|
||||
throw e.rethrowAsRuntimeException();
|
||||
}
|
||||
}
|
||||
mAtmInternal.startHomeOnAllDisplays(currentUserId, "systemReady");
|
||||
// On Automotive, at this point the system user has already been started and unlocked,
|
||||
// and some of the tasks we do here have already been done. So skip those in that case.
|
||||
final boolean bootingSystemUser = currentUserId == UserHandle.USER_SYSTEM;
|
||||
|
||||
if (bootingSystemUser) {
|
||||
mAtmInternal.startHomeOnAllDisplays(currentUserId, "systemReady");
|
||||
}
|
||||
|
||||
mAtmInternal.showSystemReadyErrorDialogsIfNeeded();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user