File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
core/java/com/android/internal/widget/multiwaveview Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff 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 /**
You can’t perform that action at this time.
0 commit comments