am 199c4825: am bf173f11: Fix 2304151 - crash while installing apps

Merge commit '199c4825e2d64e3a5d8992155595462e75332cc7' into eclair-mr2-plus-aosp

* commit '199c4825e2d64e3a5d8992155595462e75332cc7':
  Fix 2304151 - crash while installing apps
This commit is contained in:
Joe Onorato
2009-12-09 15:50:54 -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);