Commits


Sergii Skorokhodov authored and Henrik Baard committed 9edcc7be49a
Correct check of is user running Before the ActivityManagerService sends an intent or starts an activity it checks if target user is in mStartedUsers array. When removing a non-owner user process the UserStartedState instance will still be in mStartedUsers array with mState STOPPING or SHUTDOWN. This should be checked before sending an intent or start an activity. isUserRunningLocked(...) will interpret mState STOPPING and SHUTDOWN as a non running user. Change-Id: I1b51bcdb62bdd0f6dbe05dab4d529d4ad40d0d44