diff options
author | Grace Kloba <klobag@google.com> | 2009-09-23 18:50:05 -0700 |
---|---|---|
committer | Grace Kloba <klobag@google.com> | 2009-09-24 09:46:25 -0700 |
commit | 00d85e74921459b34e70eb93368245b4c0a9bf5f (patch) | |
tree | 69e57f8ab5d9df95b3d5a636cd92c91501ed5ebb /src/com/android | |
parent | 0923d69a8ca45222cabd82a80eaa88da9f132e9a (diff) | |
download | packages_apps_Browser-00d85e74921459b34e70eb93368245b4c0a9bf5f.zip packages_apps_Browser-00d85e74921459b34e70eb93368245b4c0a9bf5f.tar.gz packages_apps_Browser-00d85e74921459b34e70eb93368245b4c0a9bf5f.tar.bz2 |
We should return after calling moveTaskToBack when there is no current tab.
Fix http://b/issue?id=2142160
Diffstat (limited to 'src/com/android')
-rw-r--r-- | src/com/android/browser/BrowserActivity.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/com/android/browser/BrowserActivity.java b/src/com/android/browser/BrowserActivity.java index e5434ed..eb79a3c 100644 --- a/src/com/android/browser/BrowserActivity.java +++ b/src/com/android/browser/BrowserActivity.java @@ -2100,6 +2100,7 @@ public class BrowserActivity extends Activity * moveTaskToBack(). */ moveTaskToBack(true); + return; } WebView w = current.getWebView(); if (w.canGoBack()) { |