summaryrefslogtreecommitdiff
path: root/libs/androidfw/ZipFileRO.cpp
diff options
context:
space:
mode:
author Orhan Uysal <uysalorhan@google.com> 2024-03-19 10:00:26 +0000
committer Orhan Uysal <uysalorhan@google.com> 2024-03-19 12:21:39 +0000
commit5f6d522a4103c02e4d643eb427d3d1a4b7e76bcb (patch)
tree3409af976cffc7dacaf61bc3e0a34dafe970fd84 /libs/androidfw/ZipFileRO.cpp
parent5da4d675516a68ba8fe8a6830300130607e1e516 (diff)
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
Diffstat (limited to 'libs/androidfw/ZipFileRO.cpp')
0 files changed, 0 insertions, 0 deletions