From 7f5c5e8bb84df3d414b4e0f0f1165754ebe056ef Mon Sep 17 00:00:00 2001 From: Fabrice Di Meglio Date: Wed, 23 Jul 2014 19:03:33 -0700 Subject: [PATCH] Code cleaning - remove those non usefull Intent.CATEGORY_LAUNCHER Change-Id: Ib6e5f4a5265633da85423307fac26a104814f05f --- src/com/android/settings/HomeSettings.java | 1 - src/com/android/settings/dashboard/DashboardSummary.java | 1 - 2 files changed, 2 deletions(-) diff --git a/src/com/android/settings/HomeSettings.java b/src/com/android/settings/HomeSettings.java index 9177c73af68..fe56d94ac27 100644 --- a/src/com/android/settings/HomeSettings.java +++ b/src/com/android/settings/HomeSettings.java @@ -223,7 +223,6 @@ public class HomeSettings extends SettingsPreferenceFragment implements Indexabl filter.addAction(Intent.ACTION_PACKAGE_CHANGED); filter.addAction(Intent.ACTION_PACKAGE_REPLACED); filter.addCategory(Intent.CATEGORY_HOME); - filter.addCategory(Intent.CATEGORY_LAUNCHER); filter.addDataScheme("package"); getActivity().registerReceiver(mHomePackageReceiver, filter); diff --git a/src/com/android/settings/dashboard/DashboardSummary.java b/src/com/android/settings/dashboard/DashboardSummary.java index 3e438fc0ac3..a49505a75a0 100644 --- a/src/com/android/settings/dashboard/DashboardSummary.java +++ b/src/com/android/settings/dashboard/DashboardSummary.java @@ -75,7 +75,6 @@ public class DashboardSummary extends Fragment { filter.addAction(Intent.ACTION_PACKAGE_CHANGED); filter.addAction(Intent.ACTION_PACKAGE_REPLACED); filter.addCategory(Intent.CATEGORY_HOME); - filter.addCategory(Intent.CATEGORY_LAUNCHER); filter.addDataScheme("package"); getActivity().registerReceiver(mHomePackageReceiver, filter); }