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

Skip to content
Commit 5f6d522a authored by Orhan Uysal's avatar Orhan Uysal
Browse files

Don't specify creator BAL options while sending PI

When we have `startDragToDesktopTransition`, we create and send a pending intent to move the home task to front transiently. Currently, for both creating and sending the PI we use the same option bundle which has a creator BAL option. However creator BAL options should only be used when we create the PI and not when sending it. So instead we can specify the options while creating the PI and not when sending it.

In some builds this work fine as PENDING_INTENT_OPTIONS_CHECK is
not yet enabled so it just logs a `wtf` message but in some other builds it is enabled which throws an exception and causes the transition to abort.

Test: Try drag to desktop on a previously broken build, observe that it works fine and doesn't abort the transition with black home screen.
Bug: 328392734

Change-Id: I10f1edad5304550d0168ae5f23b03c8f90e0149b
parent 5da4d675
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