Skip to content
Commit a56ea12c authored by Mark Lu's avatar Mark Lu
Browse files

Fix resumeHomeStackTask can't resume home if activity is finishing.

Not to resume home activity in finishing stage as following case:

When only home task has 2 activities,
(ex: SetupWizard & DeviceOwnerProvisioningActivity),

If SetupWizard crashed during DeviceOwnerProvisioningActivity in
finishing stage,
makes DeviceOwnerProvisioningActivity cannot destroy immediately,
In resumeHomeStackTask, will resume DeviceOwnerProvisioningActivity
(returned by getHomeActivity),
But actually, DeviceOwnerProvisioningActivity cannot be resumed.
Caused ANR when back key since no more running activity can resume.

Change-Id: Icec49e092d2e7bee7f6a2d198913c1c5db7122f2
parent f518ad0a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment