summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTreeHugger Robot <treehugger-gerrit@google.com>2021-05-21 02:53:57 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2021-05-21 02:53:57 +0000
commit02e25a9b10f7912ed24182f71096b0324456e2c6 (patch)
treeead8402f1399290efd00f68919b7c69b2bd8ba1b /src
parent0b373538bfbfb705de380d5f69096ab41d96b613 (diff)
parentd22020fb29d39ace6fde36c6a18f66d79c98dfb7 (diff)
downloadThemePicker-02e25a9b10f7912ed24182f71096b0324456e2c6.tar.gz
Merge "Fix intent filter to get launcher's meta-data" into sc-dev
Diffstat (limited to 'src')
-rw-r--r--src/com/android/customization/model/themedicon/ThemedIconUtils.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/customization/model/themedicon/ThemedIconUtils.java b/src/com/android/customization/model/themedicon/ThemedIconUtils.java
index 8f1bdeea..c339c5a8 100644
--- a/src/com/android/customization/model/themedicon/ThemedIconUtils.java
+++ b/src/com/android/customization/model/themedicon/ThemedIconUtils.java
@@ -36,7 +36,7 @@ public class ThemedIconUtils {
public ThemedIconUtils(Context context, String authorityMetaKey) {
mContext = context;
- Intent homeIntent = new Intent(Intent.ACTION_MAIN).addCategory(Intent.CATEGORY_LAUNCHER);
+ Intent homeIntent = new Intent(Intent.ACTION_MAIN).addCategory(Intent.CATEGORY_HOME);
ResolveInfo resolveInfo = mContext.getPackageManager().resolveActivity(homeIntent,
PackageManager.MATCH_DEFAULT_ONLY | PackageManager.GET_META_DATA);