no bug. Disable saving last screenshot until http://code.google.com/p/android/issues/detail?id=16941 is worked around
authorDoug Turner <dougt@dougt.org>
Tue, 22 Nov 2011 13:44:44 -0800
changeset 83578 2c6c5c1829e5a2b0be31aa700613654ddfb008f9
parent 83577 68ad2016a7d0a9b2e9e91bc0715a6e8c43997ef6
child 83579 522b28c81dfe1969cb50f73e422ff50d1d2ecdc3
push id519
push userakeybl@mozilla.com
push dateWed, 01 Feb 2012 00:38:35 +0000
treeherdermozilla-beta@788ea1ef610b [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs16941
milestone11.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
no bug. Disable saving last screenshot until http://code.google.com/p/android/issues/detail?id=16941 is worked around
mobile/android/base/GeckoApp.java
--- a/mobile/android/base/GeckoApp.java
+++ b/mobile/android/base/GeckoApp.java
@@ -1339,21 +1339,23 @@ abstract public class GeckoApp
     }
 
     @Override
     public void onPause()
     {
         Log.i(LOGTAG, "pause");
 
         // Remember the last screen.
-        mMainHandler.postDelayed(new Runnable() {
-          public void run() {
-              rememberLastScreen(false);
-          }
-        }, 500);
+        // until http://code.google.com/p/android/issues/detail?id=16941 is worked around
+        // we don't need to save this.
+        //        mMainHandler.postDelayed(new Runnable() {
+        //          public void run() {
+        //              rememberLastScreen(false);
+        //          }
+        //        }, 500);
 
         GeckoAppShell.sendEventToGecko(new GeckoEvent(GeckoEvent.ACTIVITY_PAUSING));
         // 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.