Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 10a073ee authored by jing.zhao's avatar jing.zhao
Browse files

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
parent 16b30c40
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -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);