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

Skip to content
Commit 063521fe authored by Vinit Nayak's avatar Vinit Nayak
Browse files

Allow consuming another intent for widgets to launch in split

* Bundle2 in startIntents() and startIntentAndTask() will now
check for the presence of a widgetIntent. Sometimes widgets
send both a pendingIntent as well as a regular intent and both
of these may be necessary to resolve their app to launch

Bug: 311263727
Test: Tested w/ 2 fresh launches, app + widget.
Also with existing task + widget.
Was not able to accurately test multiple tasks launched by the
widget since there are some issues with the allowlist check.
And the working case for multiple instances of Chrome didn't
work because none of the chrome widgets rely on the secondary
intent to launch any of the app's activities
Flag: None, technically this code isn't reachable since widgets
are unsupported, but didn't seem worthwhile to add a separate flag
in the short duration we will begin supporting them again

Change-Id: I6ecd4a7cc9e5eb8c7ca928dc066d8c67b71f8227
parent 821d03e8
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