Skip to content

Commit a482f94

Browse files
Jim MillerAndroid (Google) Code Review
authored andcommitted
Merge "Fix 6397736: Fix issue with MultiWaveView in incoming call screen." into jb-dev
2 parents ac8a61b + 72b26c1 commit a482f94

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

core/java/com/android/internal/widget/multiwaveview/MultiWaveView.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -538,6 +538,8 @@ private void internalSetTargetResources(int resourceId) {
538538
maxWidth = Math.max(maxWidth, target.getWidth());
539539
maxHeight = Math.max(maxHeight, target.getHeight());
540540
}
541+
mTargetResourceId = resourceId;
542+
mTargetDrawables = targetDrawables;
541543
if (mMaxTargetWidth != maxWidth || mMaxTargetHeight != maxHeight) {
542544
mMaxTargetWidth = maxWidth;
543545
mMaxTargetHeight = maxHeight;
@@ -546,8 +548,6 @@ private void internalSetTargetResources(int resourceId) {
546548
updateTargetPositions();
547549
}
548550
array.recycle();
549-
mTargetResourceId = resourceId;
550-
mTargetDrawables = targetDrawables;
551551
}
552552

553553
/**

0 commit comments

Comments
 (0)