summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher2/AllApps3D.java
diff options
context:
space:
mode:
authorJoe Onorato <joeo@android.com>2010-03-17 20:03:24 -0700
committerJoe Onorato <joeo@android.com>2010-03-17 20:03:24 -0700
commit96da4012a118a53538ef1630bbd21c7bb51c9fdf (patch)
treefa3258ade84c4374462721ae155670460d9971df /src/com/android/launcher2/AllApps3D.java
parent8ddc4fdba06cfa786950c306475b7a4e3f6846ab (diff)
downloadandroid_packages_apps_Trebuchet-96da4012a118a53538ef1630bbd21c7bb51c9fdf.tar.gz
android_packages_apps_Trebuchet-96da4012a118a53538ef1630bbd21c7bb51c9fdf.tar.bz2
android_packages_apps_Trebuchet-96da4012a118a53538ef1630bbd21c7bb51c9fdf.zip
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/com/android/launcher2/AllApps3D.java')
-rw-r--r--src/com/android/launcher2/AllApps3D.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/com/android/launcher2/AllApps3D.java b/src/com/android/launcher2/AllApps3D.java
index 6d0655e75..fe267bae1 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;
}
}