Don't hide the navscreen when going to bookmarks
Bug: 5144826
Change-Id: If810b3d82c52265f841954f295f5974af9807a01
diff --git a/src/com/android/browser/Controller.java b/src/com/android/browser/Controller.java
index 7c93e9f..8d8a2be 100644
--- a/src/com/android/browser/Controller.java
+++ b/src/com/android/browser/Controller.java
@@ -1177,6 +1177,7 @@
if (intent == null || resultCode != Activity.RESULT_OK) {
break;
}
+ mUi.showWeb(false);
if (Intent.ACTION_VIEW.equals(intent.getAction())) {
Tab t = getCurrentTab();
Uri uri = intent.getData();
@@ -2618,7 +2619,7 @@
boolean onKeyLongPress(int keyCode, KeyEvent event) {
switch(keyCode) {
case KeyEvent.KEYCODE_BACK:
- if (mUi.showsWeb()) {
+ if (mUi.isWebShowing()) {
bookmarksOrHistoryPicker(true);
return true;
}