diff options
author | jing.zhao <jing.zhao@ck-telecom.com> | 2015-04-20 09:32:50 +0800 |
---|---|---|
committer | Jorge Ruesga <jorge@ruesga.com> | 2015-04-21 01:18:12 +0000 |
commit | 6e0bd517472876ddd47ed1a8aae8ba14a0d9982e (patch) | |
tree | c0532b7913370eeeb32c978b29b26fd7f75decc2 | |
parent | 226460f8724fdc3f74e59e92862dd88087385b70 (diff) | |
download | android_packages_apps_CMFileManager-6e0bd517472876ddd47ed1a8aae8ba14a0d9982e.tar.gz android_packages_apps_CMFileManager-6e0bd517472876ddd47ed1a8aae8ba14a0d9982e.tar.bz2 android_packages_apps_CMFileManager-6e0bd517472876ddd47ed1a8aae8ba14a0d9982e.zip |
CMFileManager: After change language, the navigation view item summary doesn't change
[The System Language is Chinese]
1. open the CMFileManager Application.
2. press home button and goto Settings to change the System Language from Chinese to English (can change the others).
3. open the CMFileManager again, Click "All" , you can see the item's summary doesn't completely change.
Open the CMFileManager, After change language, the item also will change.
Change-Id: I40969d98718463996c34951effef50fa4e42c4ec
(cherry picked from commit 10a073ee66dfe862804b2c2a39f93662bc554599)
-rwxr-xr-x | src/com/cyanogenmod/filemanager/activities/NavigationActivity.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/com/cyanogenmod/filemanager/activities/NavigationActivity.java b/src/com/cyanogenmod/filemanager/activities/NavigationActivity.java index 87336896..84790cbf 100755 --- a/src/com/cyanogenmod/filemanager/activities/NavigationActivity.java +++ b/src/com/cyanogenmod/filemanager/activities/NavigationActivity.java @@ -313,7 +313,8 @@ public class NavigationActivity extends Activity } else if (intent.getAction().compareTo(Intent.ACTION_TIME_CHANGED) == 0 || intent.getAction().compareTo(Intent.ACTION_DATE_CHANGED) == 0 || - intent.getAction().compareTo(Intent.ACTION_TIMEZONE_CHANGED) == 0) { + intent.getAction().compareTo(Intent.ACTION_TIMEZONE_CHANGED) == 0 || + intent.getAction().compareTo(Intent.ACTION_LOCALE_CHANGED) == 0) { // Refresh the data synchronized (FileHelper.DATETIME_SYNC) { FileHelper.sReloadDateTimeFormats = true; @@ -500,6 +501,7 @@ public class NavigationActivity extends Activity filter.addAction(Intent.ACTION_DATE_CHANGED); filter.addAction(Intent.ACTION_TIME_CHANGED); filter.addAction(Intent.ACTION_TIMEZONE_CHANGED); + filter.addAction(Intent.ACTION_LOCALE_CHANGED); filter.addAction(FileManagerSettings.INTENT_MOUNT_STATUS_CHANGED); registerReceiver(this.mNotificationReceiver, filter); |