summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMichael Kolb <kolby@google.com>2011-07-13 16:26:47 -0700
committerMichael Kolb <kolby@google.com>2011-07-13 16:26:58 -0700
commit629b22ce19f44e38ee470687cd2d9218d2066f85 (patch)
tree31bd549029417565686e946a33870e49058b8842 /src
parent3ae7f74a64fd1dc101910f1b14f315b34d1f1274 (diff)
downloadpackages_apps_Browser-629b22ce19f44e38ee470687cd2d9218d2066f85.zip
packages_apps_Browser-629b22ce19f44e38ee470687cd2d9218d2066f85.tar.gz
packages_apps_Browser-629b22ce19f44e38ee470687cd2d9218d2066f85.tar.bz2
update navigation bar state for tab
Bug: 5023085 force a state update to the navigation bar when setting active tab Change-Id: Ie6db9587e1be8ba3c2303a8d1fa60c698d88cfdb
Diffstat (limited to 'src')
-rw-r--r--src/com/android/browser/PhoneUi.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/com/android/browser/PhoneUi.java b/src/com/android/browser/PhoneUi.java
index f2d5da0..7c3641c 100644
--- a/src/com/android/browser/PhoneUi.java
+++ b/src/com/android/browser/PhoneUi.java
@@ -27,6 +27,8 @@ import android.view.View;
import android.webkit.WebView;
import android.widget.FrameLayout;
+import com.android.browser.UrlInputView.StateListener;
+
/**
* Ui for regular phone screen sizes
*/
@@ -150,6 +152,8 @@ public class PhoneUi extends BaseUi {
} else {
revertVoiceTitleBar(tab);
}
+ // update nav bar state
+ mNavigationBar.onStateChanged(StateListener.STATE_NORMAL);
updateLockIconToLatest(tab);
tab.getTopWindow().requestFocus();
}