Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c9ad22c3 authored by Fabrice Di Meglio's avatar Fabrice Di Meglio
Browse files

More code cleaning for the Home intent filters

- remove the Intent.CATEGORY_HOME as it is not useful and
cannot be used into an Intent filter

Change-Id: I516188ea1c662c3277c64194c229a2e1c03a4e6a
parent 7f5c5e8b
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -222,7 +222,6 @@ public class HomeSettings extends SettingsPreferenceFragment implements Indexabl
        filter.addAction(Intent.ACTION_PACKAGE_REMOVED);
        filter.addAction(Intent.ACTION_PACKAGE_CHANGED);
        filter.addAction(Intent.ACTION_PACKAGE_REPLACED);
        filter.addCategory(Intent.CATEGORY_HOME);
        filter.addDataScheme("package");
        getActivity().registerReceiver(mHomePackageReceiver, filter);

+0 −1
Original line number Diff line number Diff line
@@ -74,7 +74,6 @@ public class DashboardSummary extends Fragment {
        filter.addAction(Intent.ACTION_PACKAGE_REMOVED);
        filter.addAction(Intent.ACTION_PACKAGE_CHANGED);
        filter.addAction(Intent.ACTION_PACKAGE_REPLACED);
        filter.addCategory(Intent.CATEGORY_HOME);
        filter.addDataScheme("package");
        getActivity().registerReceiver(mHomePackageReceiver, filter);
    }