Add a dev-mode freeform option to recents menu

When the developer option for freeform is enabled, provides
a "Freeform" option in the recents task overlay menu. This
is sort-of an analog to the freeform option in N recents;
however, since recents now is part of home, there's no
straightforward way to have multiple freeforms at a time,
so this really is only useful for developers.

Bug: None
Test: manual - enable freeform in dev settings, then pick
      Freeform from recent task overlay menu.
Change-Id: I5d8e95aaffb8fe43e655f705cacdd51859c95d3b
(cherry picked from commit 9beb6bf251)
This commit is contained in:
Evan Rosky authored and Winson Chung committed 2018-11-26 18:34:47 +00:00
1 parent 4a5bc9f8b0
commit a639c79112
3 files changed
+77 -18

No files matched your search

@@ -46,6 +46,7 @@ public class TaskOverlayFactory implements ResourceBasedOverride {
new TaskSystemShortcut.SplitScreen(),
new TaskSystemShortcut.Pin(),
new TaskSystemShortcut.Install(),
new TaskSystemShortcut.Freeform()
};
public static TaskOverlayFactory get(Context context) {