diff options
-rw-r--r-- | src/com/android/launcher2/AllAppsView.java | 4 |
1 files changed, 3 insertions, 1 deletions
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() { |