Commit Graph

5 Commits

Author SHA1 Message Date
Chilun
65f0ccfed7 Support secondary displays
Add category SECONDARY_HOME.

Bug: 118206886
Bug: 111363427
Test: Manual
Change-Id: I6c8fb0f1bdd905fafab357eb3b444e8db34f2bae
2018-12-06 21:22:02 +08:00
Riddle Hsu
ff3874d082 Allow to launch activity without specifying display id
- Add a dropdown item to not set launch display id.
- Default don't set launch display id.

In general use cases, activity should be launched on the
display where the caller resides.

Bug: 112451761
Test: Create a virtual display with system decoration support,
      launch an activity from shortcut and check if the activity
      runs on the same display.

Change-Id: Iab2fd21402c7aa0e245ebfeb3698aaa22cb30e18
2018-11-28 10:27:05 +08:00
Charles Chen
24c88f07ae Make MD Launcher start a new task when launching app by default
We want to make MD launcher have the similar behaviors as other
launchers, which is start a new task by default.

Fixes: 119634726
Test: Manual - launch EditTextVariation and click home button
Change-Id: I862557c1ac41ce4d259ebe45394eb503065e1fa0
2018-11-19 13:14:03 +00:00
Andrii Kulian
91ca37c380 Update MD Launcher for large/external screens
- Added support for multiple launcher activity instances.
- Launcher now shows default wallpaper as background.
- The activity now expands behind system decor windows.
- App drawer can be invoked by clicking on FAB.
- Apps can be pinned on the screen.
- Wallpaper setting flow can be started from launcher.
- UI is optimized for large and xlarge screens.
- Launching a new instance is now optional.
- Other minor UI tweaks.

Bug: 116684201
Bug: 112452592
Bug: 112451761
Test: Manual
Change-Id: I52b5efa4362eab7fcaa5d23923329b68b1783847
2018-10-19 16:33:00 -07:00
Andrii Kulian
9048eea32c MultiDisplay launcher sample
Demo launcher that allows starting activities on secondary displays.

Test: Manual
Change-Id: I9d6652b81fc928767d47f94a6ac5bc9de0fb8f37
2018-07-31 21:58:46 +08:00