Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit d23fb21a authored by Riddle Hsu's avatar Riddle Hsu
Browse files

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
parent b1c7853e
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