When the locale changes, flush the all apps list.

Bug: 3032131
Change-Id: I47659a459044fdace0a3480d216b168c18f2de37
This commit is contained in:
Joe Onorato
2010-10-29 17:35:36 -07:00
parent a997ac2666
commit e9ad59eba6
2 changed files with 32 additions and 14 deletions

View File

@@ -52,6 +52,7 @@ public class LauncherApplication extends Application {
filter = new IntentFilter();
filter.addAction(Intent.ACTION_EXTERNAL_APPLICATIONS_AVAILABLE);
filter.addAction(Intent.ACTION_EXTERNAL_APPLICATIONS_UNAVAILABLE);
filter.addAction(Intent.ACTION_LOCALE_CHANGED);
registerReceiver(mModel, filter);
// Register for changes to the favorites