commit | dcc5eeb63eadd597587a0b2b49998c267b0bcc11 | [log] [tgz] |
---|---|---|
author | Leon Scroggins <scroggo@google.com> | Tue Feb 23 17:26:37 2010 -0500 |
committer | Leon Scroggins <scroggo@google.com> | Wed Feb 24 13:47:53 2010 -0500 |
tree | f1a61b6b4faddee16944b2efd57e87c43c569bc4 | |
parent | 6250474346aebe596f96fc86f998bc4d0dfcc2f0 [diff] [blame] |
If a tab was opened solely to download a file, close the tab. Fix for http://b/issue?id=2217707
diff --git a/src/com/android/browser/BrowserActivity.java b/src/com/android/browser/BrowserActivity.java index d4a016d..b550714 100644 --- a/src/com/android/browser/BrowserActivity.java +++ b/src/com/android/browser/BrowserActivity.java
@@ -2149,7 +2149,7 @@ resetTitleIconAndProgress(); } - private void goBackOnePageOrQuit() { + /* package */ void goBackOnePageOrQuit() { Tab current = mTabControl.getCurrentTab(); if (current == null) { /*