Finishing the visible requested activity vs. destroying it
The activity in the primary taskfragment was resumed and was
added to the opening apps while the activity in the secondary
taskfragment finished, while the device folded. Later, a WCT
removed the primary taskfragment (due to split rule) and
requested the client to destroy the activity. In that case,
the activity was not removed from the opening apps until the
Activity#onDestroyed is called, so it could be part of the
transition.
Bug: 261689989
Test: wm presubmit
Change-Id: I47445b19ae86f59c4baecf4b6e6da567e1d264c7
1 file changed