diff options
| author | 2023-06-07 11:52:44 +0000 | |
|---|---|---|
| committer | 2023-06-12 03:57:41 +0000 | |
| commit | ee2134b0bd6197e0c0f26bea08e931067c3dab18 (patch) | |
| tree | 7e50f0221815115eb64fdfbba8f4e723853219f2 /native/android/configuration.cpp | |
| parent | a9025bc558d0ed7a127924ab7b4236ea8f834f01 (diff) | |
Update correct split task Id to RecentsTaskController...
Otherwise there will show incorrect/non-exist task pair which doesn't
align with StageCoordinate, also can launch incorrect tasks.
After switch to shell transition, we cannot determine which one is
the top visibile task because the TaskInfo#isVisible will always be
true for both open and close task before transition finish, so
getTopVisibleChildTaskId can choose the close task as top task during
transition, which will accidentally add or remove correct task pair to
RecentTasksController, thus create the strange pair in #getRecentTasks.
Add a field isVisibleRequested in TaskInfo, so there should always one
visible task in a stage, to fix the confuse situation.
Bug: 286204636
Test: follow issus description.
Test: verify split bounds doesn't change after pair-to-pair switch.
Test: Create two pair, drag app from taskbar to one of the pair, do
pair-to-pair switch, enter recents. Verify previous pair still exists,
and no extra pair shows up in recents.
Change-Id: Id468ee889b90411d53fcae574ed65bfa7ab795d2
Diffstat (limited to 'native/android/configuration.cpp')
0 files changed, 0 insertions, 0 deletions