Back out c09a52af4cd8 on suspicion of causing talos failures
authorMatt Brubeck <mbrubeck@mozilla.com>
Wed, 09 Nov 2011 12:30:35 -0800
changeset 81784 3e1e9e88c79467f91c4434ad084310eb33d2045a
parent 81783 addb9a82a6b8647a4d95420369a5aecef4be1808
child 81785 e66ab555b3228559bf039e11e1147bb5937593c9
push idunknown
push userunknown
push dateunknown
milestone10.0a1
backs outc09a52af4cd8573f602571d96a9254f3f2ecf9a0
Back out c09a52af4cd8 on suspicion of causing talos failures
embedding/android/GeckoApp.java
--- a/embedding/android/GeckoApp.java
+++ b/embedding/android/GeckoApp.java
@@ -1550,17 +1550,17 @@ abstract public class GeckoApp
     public void onBackPressed() {
         if (mFullScreen) {
             GeckoAppShell.sendEventToGecko(new GeckoEvent("FullScreen:Exit", null));
             return;
         }
 
         Tab tab = Tabs.getInstance().getSelectedTab();
         if (tab == null || !tab.doBack()) {
-            moveTaskToBack(true);
+            finish();
         }
     }
 
     static int kCaptureIndex = 0;
 
     @Override
     protected void onActivityResult(int requestCode, int resultCode,
                                     Intent data) {