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
Loading
Please register or sign in to comment