diff options
author | Joe Onorato <joeo@android.com> | 2010-03-17 20:03:24 -0700 |
---|---|---|
committer | Joe Onorato <joeo@android.com> | 2010-03-17 20:03:24 -0700 |
commit | 96da4012a118a53538ef1630bbd21c7bb51c9fdf (patch) | |
tree | fa3258ade84c4374462721ae155670460d9971df /src | |
parent | 8ddc4fdba06cfa786950c306475b7a4e3f6846ab (diff) | |
download | packages_apps_trebuchet-96da4012a118a53538ef1630bbd21c7bb51c9fdf.zip packages_apps_trebuchet-96da4012a118a53538ef1630bbd21c7bb51c9fdf.tar.gz packages_apps_trebuchet-96da4012a118a53538ef1630bbd21c7bb51c9fdf.tar.bz2 |
We need to null out this static.
All of the crashes we've been seeing with "Calling RS with no
Context active" were in places that are guarded with if (mRollo != null).
Change-Id: Icb9194cfc4f534bedce5a69a20760a0c3d7fe1d3
Diffstat (limited to 'src')
-rw-r--r-- | src/com/android/launcher2/AllApps3D.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/com/android/launcher2/AllApps3D.java b/src/com/android/launcher2/AllApps3D.java index 6d0655e..fe267ba 100644 --- a/src/com/android/launcher2/AllApps3D.java +++ b/src/com/android/launcher2/AllApps3D.java @@ -204,8 +204,10 @@ public class AllApps3D extends RSSurfaceView protected void onDetachedFromWindow() { mRS.mMessageCallback = null; if (!mSurrendered) { + Log.i(TAG, "onDetachedFromWindow"); destroyRenderScript(); mRS = null; + mRollo = null; } } |