Skip to content
Commit eccc88a8 authored by Chris Li's avatar Chris Li
Browse files

Destroy ActivityRecord when it is removed from the hierarchy

When activity is finishing from back, it may be added to the
ActivityTaskSupervisor#mFinishingActivities and wait for the resume
activity IDLE before destroy.

However, TaskFragmentOrganizer will be notified to apply WCT to delete
the TaskFragment that has no running activity before that is done. It
will cause the activity removed from the hierarchy before the destroy is
called.

Fix: 195454840
Test: Verify with Sidecar + Demo app
Change-Id: I60d9217d061ee53421661bde496b5fb320f01b87
parent d80f48c3
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