am 4700fed7: Maybe this will silence http://b/2460740

Merge commit '4700fed72b619a09a0d9cac93e86625b95c730dc' into eclair-plus-aosp

* commit '4700fed72b619a09a0d9cac93e86625b95c730dc':
  Maybe this will silence http://b/2460740
This commit is contained in:
Joe Onorato
2010-03-01 17:57:23 -08:00
committed by Android Git Automerger

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);