OSDN Git Service
(root)
/
android-x86
/
packages-apps-Browser.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
652ff87
)
Remove the active tabs page when pausing the BrowserActivity.
author
Leon Scroggins
<scroggo@google.com>
Fri, 11 Sep 2009 15:49:52 +0000
(11:49 -0400)
committer
Leon Scroggins
<scroggo@google.com>
Fri, 11 Sep 2009 18:11:24 +0000
(14:11 -0400)
This fixes http://b/issue?id=
2113505
Change-Id: Ibb66546a86082986170ec983c4e081008182baac
src/com/android/browser/BrowserActivity.java
patch
|
blob
|
history
diff --git
a/src/com/android/browser/BrowserActivity.java
b/src/com/android/browser/BrowserActivity.java
index
7e0db56
..
7e0f93d
100644
(file)
--- a/
src/com/android/browser/BrowserActivity.java
+++ b/
src/com/android/browser/BrowserActivity.java
@@
-960,6
+960,14
@@
public class BrowserActivity extends Activity
}
mCredsDlg = null;
+ // FIXME: This removes the active tabs page and resets the menu to
+ // MAIN_MENU. A better solution might be to do this work in onNewIntent
+ // but then we would need to save it in onSaveInstanceState and restore
+ // it in onCreate/onRestoreInstanceState
+ if (mActiveTabsPage != null) {
+ removeActiveTabPage(true);
+ }
+
cancelStopToast();
// unregister network state listener