diff options
author | Reena Lee <reena@google.com> | 2011-09-23 17:20:28 -0700 |
---|---|---|
committer | Michael Jurka <mikejurka@google.com> | 2011-10-17 14:25:33 -0700 |
commit | 93f824ac2f2f3ec92a775cad58dcf59e4302fe64 (patch) | |
tree | 91ff663eb96600ceda9ac0434cfe8efd9d26575e /src/com/android/launcher2/LauncherApplication.java | |
parent | 6029d75e75c54ce6f4e69a5dde2cdbc993d772b7 (diff) | |
download | android_packages_apps_Trebuchet-93f824ac2f2f3ec92a775cad58dcf59e4302fe64.tar.gz android_packages_apps_Trebuchet-93f824ac2f2f3ec92a775cad58dcf59e4302fe64.tar.bz2 android_packages_apps_Trebuchet-93f824ac2f2f3ec92a775cad58dcf59e4302fe64.zip |
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
Diffstat (limited to 'src/com/android/launcher2/LauncherApplication.java')
-rw-r--r-- | src/com/android/launcher2/LauncherApplication.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/com/android/launcher2/LauncherApplication.java b/src/com/android/launcher2/LauncherApplication.java index ba028efea..755168cab 100644 --- a/src/com/android/launcher2/LauncherApplication.java +++ b/src/com/android/launcher2/LauncherApplication.java @@ -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); |