diff options
author | John Reck <jreck@google.com> | 2011-08-11 16:26:53 -0700 |
---|---|---|
committer | John Reck <jreck@google.com> | 2011-08-11 16:26:53 -0700 |
commit | 3ba455394dd3413b6246f00d2bf2083547862735 (patch) | |
tree | 45456b6ded454a3a3ac2336dc53dccc395d438e0 /src/com/android/browser/PhoneUi.java | |
parent | e3da7d615be4710da92a79e6ed70dc1982deda4c (diff) | |
download | Browser-3ba455394dd3413b6246f00d2bf2083547862735.tar.gz |
Don't hide the navscreen when going to bookmarks
Bug: 5144826
Change-Id: If810b3d82c52265f841954f295f5974af9807a01
Diffstat (limited to 'src/com/android/browser/PhoneUi.java')
-rw-r--r-- | src/com/android/browser/PhoneUi.java | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/src/com/android/browser/PhoneUi.java b/src/com/android/browser/PhoneUi.java index f33dbef6..d1aed921 100644 --- a/src/com/android/browser/PhoneUi.java +++ b/src/com/android/browser/PhoneUi.java @@ -153,14 +153,6 @@ public class PhoneUi extends BaseUi { } } - @Override - public void showComboView(ComboViews startWith, Bundle extras) { - if (mNavScreen != null) { - hideNavScreen(false); - } - super.showComboView(startWith, extras); - } - // menu handling callbacks @Override @@ -313,4 +305,15 @@ public class PhoneUi extends BaseUi { return true; } + @Override + public boolean isWebShowing() { + return super.isWebShowing() && mNavScreen == null; + } + + @Override + public void showWeb(boolean animate) { + super.showWeb(animate); + hideNavScreen(animate); + } + } |