Allow CarLaunchParamsModifier to configure to prefer source.
- When it sets, CarLaunchParamsModifier can prefer source's display
over the existing display.
- So when Maps in ActivityView gets the intent from Assistant/Calendar,
Maps will be reparent to the default display.
- We can also specify the target Activities to apply the rule.
Bug: 148772353
Test: atest CarLaunchParamsModifierTest
Test: launch CarLauncher and make it sure Maps will be in CarLauncher,
then launch Assistant, search some locals and check the result will
be shown in Maps in fullscreen.
Change-Id: I5391956d6da4fb28070435cd978d6647c524f584
4 files changed