aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjing.zhao <jing.zhao@ck-telecom.com>2015-04-20 09:32:50 +0800
committerjing.zhao <jing.zhao@ck-telecom.com>2015-04-20 01:57:21 +0000
commit10a073ee66dfe862804b2c2a39f93662bc554599 (patch)
tree49c95f97941d0255ac3f06cfbc737e89cb1acca2
parent16b30c40f8164c760d0e40c00e19bcc4dac67ccf (diff)
downloadandroid_packages_apps_CMFileManager-10a073ee66dfe862804b2c2a39f93662bc554599.tar.gz
android_packages_apps_CMFileManager-10a073ee66dfe862804b2c2a39f93662bc554599.tar.bz2
android_packages_apps_CMFileManager-10a073ee66dfe862804b2c2a39f93662bc554599.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
-rwxr-xr-xsrc/com/cyanogenmod/filemanager/activities/NavigationActivity.java4
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 efc085ad..d7ab6404 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);