summaryrefslogtreecommitdiffstats
path: root/src/com/android/browser/XLargeUi.java
diff options
context:
space:
mode:
authorMichael Kolb <kolby@google.com>2011-03-10 09:06:10 -0800
committerMichael Kolb <kolby@google.com>2011-03-10 09:15:57 -0800
commit1544f3b7494955d8a33b307fb2a96dd1841942c0 (patch)
tree6fed22c36cd78b7db86364ae20a86a76b7c996a6 /src/com/android/browser/XLargeUi.java
parentc88ba2ec617ba7e9b156888c980c1f9044d32726 (diff)
downloadpackages_apps_Browser-1544f3b7494955d8a33b307fb2a96dd1841942c0.zip
packages_apps_Browser-1544f3b7494955d8a33b307fb2a96dd1841942c0.tar.gz
packages_apps_Browser-1544f3b7494955d8a33b307fb2a96dd1841942c0.tar.bz2
fix url bar disappearing bug
Bug 3508517 url bar was hidden when coming out of aciton mode this should only happen when QC are enabled Change-Id: Ibe0b502e96dd1e8f2d198c21484cc1c0f4ee8868
Diffstat (limited to 'src/com/android/browser/XLargeUi.java')
-rw-r--r--src/com/android/browser/XLargeUi.java8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/com/android/browser/XLargeUi.java b/src/com/android/browser/XLargeUi.java
index 892b118..fb0f01a 100644
--- a/src/com/android/browser/XLargeUi.java
+++ b/src/com/android/browser/XLargeUi.java
@@ -355,9 +355,11 @@ public class XLargeUi extends BaseUi implements ScrollListener {
if (inLoad) {
// the titlebar was removed when the CAB was shown
// if the page is loading, show it again
- mTitleBar.setShowProgressOnly(true);
- if (!isTitleBarShowing()) {
- setTitleGravity(Gravity.TOP);
+ if (mUseQuickControls) {
+ mTitleBar.setShowProgressOnly(true);
+ if (!isTitleBarShowing()) {
+ setTitleGravity(Gravity.TOP);
+ }
}
showTitleBar();
}