diff options
author | Michael Kolb <kolby@google.com> | 2012-03-06 13:36:20 -0800 |
---|---|---|
committer | Michael Kolb <kolby@google.com> | 2012-03-08 10:51:28 -0800 |
commit | 18f252ff8b7f787fd3129706650eafb74fcabef4 (patch) | |
tree | 49c1829602b3a54baeefed18406103f58fea93ac /src/com/android/browser/Controller.java | |
parent | f3cbcc97081ae4a60269b66606a7b4285011e20e (diff) | |
download | packages_apps_Browser-18f252ff8b7f787fd3129706650eafb74fcabef4.zip packages_apps_Browser-18f252ff8b7f787fd3129706650eafb74fcabef4.tar.gz packages_apps_Browser-18f252ff8b7f787fd3129706650eafb74fcabef4.tar.bz2 |
handle locale changes directly in Browser
Bug: 6125790
Change-Id: I1326b5944260fe29ba9d68256d118238bcfdc3a0
Diffstat (limited to 'src/com/android/browser/Controller.java')
-rw-r--r-- | src/com/android/browser/Controller.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/com/android/browser/Controller.java b/src/com/android/browser/Controller.java index 923dfed..0b49aff 100644 --- a/src/com/android/browser/Controller.java +++ b/src/com/android/browser/Controller.java @@ -604,6 +604,8 @@ public class Controller protected void onConfgurationChanged(Configuration config) { mConfigChanged = true; + // update the menu in case of a locale change + mActivity.invalidateOptionsMenu(); if (mPageDialogsHandler != null) { mPageDialogsHandler.onConfigurationChanged(config); } |