From 13ae4ad14460eadd69d5da91e0742af03e6c8958 Mon Sep 17 00:00:00 2001 From: dariy-vel Date: Mon, 16 Mar 2026 11:11:11 +0200 Subject: [PATCH] Added "Show recent apps" app shortcut - Created [TriggerActivity] to handle launching the recent apps intent and finishing itself. - Defined a static app shortcut in [shortcuts.xml] targeting [TriggerActivity] --- app/src/main/AndroidManifest.xml | 10 +++++ .../com/crispim/recentapps/TriggerActivity.kt | 45 +++++++++++++++++++ app/src/main/res/values/strings.xml | 1 + app/src/main/res/xml/shortcuts.xml | 15 +++++++ 4 files changed, 71 insertions(+) create mode 100644 app/src/main/java/com/crispim/recentapps/TriggerActivity.kt create mode 100644 app/src/main/res/xml/shortcuts.xml diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index 35cb376..684bddb 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -20,8 +20,18 @@ + + + RecentApps RecentApps uses this service to detect user commands and quickly switch between recently opened applications. + Show recent apps \ No newline at end of file diff --git a/app/src/main/res/xml/shortcuts.xml b/app/src/main/res/xml/shortcuts.xml new file mode 100644 index 0000000..ec26d47 --- /dev/null +++ b/app/src/main/res/xml/shortcuts.xml @@ -0,0 +1,15 @@ + + + + + + +