* commit '24d06e1da4a1c85574ae814e44aef9ef236f7c08': Code cleaning
This commit is contained in:
@@ -223,7 +223,6 @@ public class HomeSettings extends SettingsPreferenceFragment implements Indexabl
|
|||||||
filter.addAction(Intent.ACTION_PACKAGE_CHANGED);
|
filter.addAction(Intent.ACTION_PACKAGE_CHANGED);
|
||||||
filter.addAction(Intent.ACTION_PACKAGE_REPLACED);
|
filter.addAction(Intent.ACTION_PACKAGE_REPLACED);
|
||||||
filter.addCategory(Intent.CATEGORY_HOME);
|
filter.addCategory(Intent.CATEGORY_HOME);
|
||||||
filter.addCategory(Intent.CATEGORY_LAUNCHER);
|
|
||||||
filter.addDataScheme("package");
|
filter.addDataScheme("package");
|
||||||
getActivity().registerReceiver(mHomePackageReceiver, filter);
|
getActivity().registerReceiver(mHomePackageReceiver, filter);
|
||||||
|
|
||||||
|
|||||||
@@ -75,7 +75,6 @@ public class DashboardSummary extends Fragment {
|
|||||||
filter.addAction(Intent.ACTION_PACKAGE_CHANGED);
|
filter.addAction(Intent.ACTION_PACKAGE_CHANGED);
|
||||||
filter.addAction(Intent.ACTION_PACKAGE_REPLACED);
|
filter.addAction(Intent.ACTION_PACKAGE_REPLACED);
|
||||||
filter.addCategory(Intent.CATEGORY_HOME);
|
filter.addCategory(Intent.CATEGORY_HOME);
|
||||||
filter.addCategory(Intent.CATEGORY_LAUNCHER);
|
|
||||||
filter.addDataScheme("package");
|
filter.addDataScheme("package");
|
||||||
getActivity().registerReceiver(mHomePackageReceiver, filter);
|
getActivity().registerReceiver(mHomePackageReceiver, filter);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user