Merge "fix bug 3375251 Copying arrays of objects would generate an exception due to excessive internal type checking." into honeycomb

This commit is contained in:
Jason Sams
2011-01-21 14:28:55 -08:00
committed by Android (Google) Code Review

View File

@@ -212,7 +212,7 @@ public class Allocation extends BaseObj {
for (int ct=0; ct < d.length; ct++) { for (int ct=0; ct < d.length; ct++) {
i[ct] = d[ct].getID(); i[ct] = d[ct].getID();
} }
copy1DRangeFrom(0, mType.getCount(), i); copy1DRangeFromUnchecked(0, mType.getCount(), i);
} }
private void validateBitmapFormat(Bitmap b) { private void validateBitmapFormat(Bitmap b) {