forked from PeterGSI/patches
34 lines
1.1 KiB
Diff
34 lines
1.1 KiB
Diff
From da21218f9905f70f8b83d2a6bbbdc91e322333c5 Mon Sep 17 00:00:00 2001
|
|
From: Danny Lin <danny@kdrag0n.dev>
|
|
Date: Tue, 5 Oct 2021 19:12:40 -0700
|
|
Subject: [PATCH 5/6] Declare HOME query for launcher discovery
|
|
|
|
ThemePicker needs to query the current launcher in order to render
|
|
launcher/wallpaper previews, toggle themed icons, and change the app
|
|
grid size.
|
|
|
|
Change-Id: Id79fe1eaa4d09f775a37a1dfb1091ed08a1d3422
|
|
---
|
|
AndroidManifest.xml | 5 +++++
|
|
1 file changed, 5 insertions(+)
|
|
|
|
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
|
|
index cace7db..85bf749 100755
|
|
--- a/AndroidManifest.xml
|
|
+++ b/AndroidManifest.xml
|
|
@@ -35,6 +35,11 @@
|
|
<intent>
|
|
<action android:name="com.android.launcher3.action.PARTNER_CUSTOMIZATION" />
|
|
</intent>
|
|
+ <!-- Intent filter with action used to discover launcher -->
|
|
+ <intent>
|
|
+ <action android:name="android.intent.action.MAIN" />
|
|
+ <category android:name="android.intent.category.HOME" />
|
|
+ </intent>
|
|
</queries>
|
|
|
|
<uses-permission android:name="com.android.launcher3.permission.READ_SETTINGS" />
|
|
--
|
|
2.37.2
|
|
|