mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-20 03:08:19 +00:00
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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user