Merge "Fix 6397736: Fix issue with MultiWaveView in incoming call screen." into jb-dev

This commit is contained in:
Jim Miller
2012-05-07 14:48:19 -07:00
committed by Android (Google) Code Review

View File

@@ -538,6 +538,8 @@ public class MultiWaveView extends View {
maxWidth = Math.max(maxWidth, target.getWidth());
maxHeight = Math.max(maxHeight, target.getHeight());
}
mTargetResourceId = resourceId;
mTargetDrawables = targetDrawables;
if (mMaxTargetWidth != maxWidth || mMaxTargetHeight != maxHeight) {
mMaxTargetWidth = maxWidth;
mMaxTargetHeight = maxHeight;
@@ -546,8 +548,6 @@ public class MultiWaveView extends View {
updateTargetPositions();
}
array.recycle();
mTargetResourceId = resourceId;
mTargetDrawables = targetDrawables;
}
/**