From b83155406b39b1491d19503ac10863b23c7dd6de Mon Sep 17 00:00:00 2001 From: Joe Onorato Date: Wed, 3 Feb 2010 20:39:25 -0800 Subject: Possibly fix 2415260 - IllegalStateException: Calling RS with no Context active --- src/com/android/launcher2/AllAppsView.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/com/android/launcher2/AllAppsView.java b/src/com/android/launcher2/AllAppsView.java index 44b18ffe4..192f4e54a 100644 --- a/src/com/android/launcher2/AllAppsView.java +++ b/src/com/android/launcher2/AllAppsView.java @@ -1267,7 +1267,9 @@ public class AllAppsView extends RSSurfaceView if (mInvokeResetWAR != null) { mInvokeResetWAR.execute(); } - mRS.contextBindRootScript(mScript); + if (mScript != null) { + mRS.contextBindRootScript(mScript); + } } void initTouchState() { -- cgit v1.2.3