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

+14
View File
@@ -31,5 +31,19 @@
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<!-- Opens Recents for the Windows button; the user turns it on in Accessibility. -->
<service
android:name=".RecentsService"
android:label="@string/recents_service_label"
android:exported="true"
android:permission="android.permission.BIND_ACCESSIBILITY_SERVICE">
<intent-filter>
<action android:name="android.accessibilityservice.AccessibilityService" />
</intent-filter>
<meta-data
android:name="android.accessibilityservice"
android:resource="@xml/recents_service" />
</service>
</application>
</manifest>