Launcher: home panel with a Windows button that opens Recents

The panel under the clock holds a Windows button. Android lets only
accessibility services open Recents, so a minimal RecentsService does
just performGlobalAction(GLOBAL_ACTION_RECENTS); until the user turns
it on, the button opens Accessibility settings instead.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01M9yVmqTBBDyq8bEYt2rVq6
This commit is contained in:
Claude committed 2026-10-21 19:03:52 +00:00
1 parent a52108e95f
commit ab03efd389
9 files changed
+132 -1

No files matched your search

+2
View File
@@ -30,6 +30,7 @@
placeWidgets: () => {},
openSettings: () => toast("Open system settings"),
pickWallpaper: () => toast("Pick a wallpaper"),
openRecents: () => toast("Show open windows"),
haptic: () => navigator.vibrate?.(10),
is24Hour: () => false,
};
@@ -89,6 +90,7 @@
remove_widget: (id) => host.removeWidget(id),
open_settings: () => host.openSettings(),
pick_wallpaper: () => host.pickWallpaper(),
open_recents: () => host.openRecents(),
haptic: () => host.haptic(),
clock_time: (h) => { strs[h] = fmtTime.format(new Date()).replace(/\s?[AP]M$/i, ""); },
clock_date: (h) => { strs[h] = fmtDate.format(new Date()); },