Bug 742216: onPause() is redundant. [r=mfinkle]
authorSriram Ramasubramanian <sriram@mozilla.com>
Wed, 04 Apr 2012 17:30:26 -0700
changeset 94360 fccc5ee8c51b262e0f990043dfc7fdc33a3fe6d6
parent 94359 ee64f3c826df1044056408f6e5f5bdb03759d2a4
child 94361 7580c5db101f37c76e9a1faaa338e0709f18ae8e
push id886
push userlsblakk@mozilla.com
push dateMon, 04 Jun 2012 19:57:52 +0000
treeherdermozilla-beta@bbd8d5efd6d1 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmfinkle
bugs742216
milestone14.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 742216: onPause() is redundant. [r=mfinkle]
mobile/android/base/GeckoApp.java
--- a/mobile/android/base/GeckoApp.java
+++ b/mobile/android/base/GeckoApp.java
@@ -1974,32 +1974,16 @@ abstract public class GeckoApp
             if (uri != null && uri.startsWith("--url=")) {
                 uri.replace("--url=", "");
             }
         }
         return uri;
     }
 
     @Override
-    public void onPause()
-    {
-        Log.i(LOGTAG, "pause");
-
-        // The user is navigating away from this activity, but nothing
-        // has come to the foreground yet; for Gecko, we may want to
-        // stop repainting, for example.
-
-        // Whatever we do here should be fast, because we're blocking
-        // the next activity from showing up until we finish.
-
-        // onPause will be followed by either onResume or onStop.
-        super.onPause();
-    }
-
-    @Override
     public void onResume()
     {
         Log.i(LOGTAG, "resume");
 
         // After an onPause, the activity is back in the foreground.
         // Undo whatever we did in onPause.
         super.onResume();