Listen for ACTION_CONFIGURATION_CHANGED for an mcc change to reload AllApps

Bug 5040470

Reload all apps in Launcher on ACTION_CONFIGURATION_CHANGED
if the config change was due to an mcc change. App icon labels
such as Gmail/GoogleMail may have mcc-based resources so must be
reloaded if the mcc has changed.

Change-Id: I02e48f9cebb73950cc563a902df850ae0db0a98f
This commit is contained in:
Reena Lee authored and Michael Jurka committed 2011-10-17 14:25:33 -07:00
1 parent 6029d75e75
commit 93f824ac2f
2 files changed
+62 -25

No files matched your search

@@ -58,6 +58,7 @@ public class LauncherApplication extends Application {
filter.addAction(Intent.ACTION_EXTERNAL_APPLICATIONS_AVAILABLE);
filter.addAction(Intent.ACTION_EXTERNAL_APPLICATIONS_UNAVAILABLE);
filter.addAction(Intent.ACTION_LOCALE_CHANGED);
filter.addAction(Intent.ACTION_CONFIGURATION_CHANGED);
registerReceiver(mModel, filter);
filter = new IntentFilter();
filter.addAction(SearchManager.INTENT_GLOBAL_SEARCH_ACTIVITY_CHANGED);