am bf173f11: Fix 2304151 - crash while installing apps

Merge commit 'bf173f11d27719af7a3c480ce84bb5b63e191fba' into eclair-mr2

* commit 'bf173f11d27719af7a3c480ce84bb5b63e191fba':
  Fix 2304151 - crash while installing apps
This commit is contained in:
Joe Onorato
2009-12-08 13:36:48 -08:00
committed by Android Git Automerger

View File

@@ -1149,7 +1149,7 @@ public class AllAppsView extends RSSurfaceView
int[] labelIds = new int[count];
mAllocLabelIds = Allocation.createSized(mRS, Element.USER_I32(mRS), count);
final int oldCount = mIcons.length;
final int oldCount = mRollo.mState.iconCount;
System.arraycopy(mIcons, 0, icons, 0, oldCount);
System.arraycopy(mIconIds, 0, iconIds, 0, oldCount);