Loading
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