diff options
| author | 2022-03-16 19:14:00 -0600 | |
|---|---|---|
| committer | 2022-03-16 20:11:15 +0800 | |
| commit | d23fb21ab3888c999630b9572fc46707ba85faa5 (patch) | |
| tree | 588bd991638d1b418933d498a2c2c678b8105cb9 /api/api.go | |
| parent | b1c7853e29b761d01ef8ed2e7cb4d445b0aeca52 (diff) | |
Return START_TASK_TO_FRONT for bring fullscreen task
The condition was added for split screen that intends to return
START_DELIVERED_TO_TOP for an activity on top of the split but
not the global top. While in fullscreen mode, it is possible
that a translucent task on top of another one. That should still
return START_TASK_TO_FRONT when moving the bottom visible activity
to top.
It may affect shell transition because only START_SUCCESS or
START_TASK_TO_FRONT requires transition, otherwise it will abort.
Bug: 223988300
Test: atest ActivityStarterTests#testMoveVisibleTaskToFront
Test: Enable shell transition.
      Launch a landscape translucent activity from launcher.
      Launch home again and no crash by
      "Trying to rotate outside a transition".
Change-Id: I2073084d5e7318b114fa74718caf4315fb21fa83
Diffstat (limited to 'api/api.go')
0 files changed, 0 insertions, 0 deletions