From 18f252ff8b7f787fd3129706650eafb74fcabef4 Mon Sep 17 00:00:00 2001 From: Michael Kolb Date: Tue, 6 Mar 2012 13:36:20 -0800 Subject: handle locale changes directly in Browser Bug: 6125790 Change-Id: I1326b5944260fe29ba9d68256d118238bcfdc3a0 --- src/com/android/browser/Controller.java | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/com/android/browser/Controller.java') 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); } -- cgit v1.1