Maybe this will silence http://b/2460740

This commit is contained in:
Joe Onorato
2010-03-01 15:26:36 -08:00
parent bf5350db61
commit 4700fed72b

View File

@@ -1265,7 +1265,8 @@ public class AllAppsView extends RSSurfaceView
* Send the apps list structures to RS.
*/
private void saveAppsList() {
if (mScript != null) { // this happens when we init it
// WTF: how could mScript be not null but mAllocIconIds null b/2460740.
if (mScript != null && mAllocIconIds != null) {
mRS.contextBindRootScript(null);
mAllocIconIds.data(mIconIds);