Fix bug where recycled FloatingIconView stays clipped to outline.
Bug: 123900446 Change-Id: I9507dab86cc0da27626d1b48e0f6a236f2b3f219
This commit is contained in:
@@ -481,6 +481,7 @@ public class FloatingIconView extends View implements
|
||||
setClipToOutline(true);
|
||||
} else {
|
||||
setBackground(finalDrawable);
|
||||
setClipToOutline(false);
|
||||
}
|
||||
|
||||
if (!loadIconSignal.isCanceled()) {
|
||||
@@ -751,5 +752,6 @@ public class FloatingIconView extends View implements
|
||||
mFgTransX = 0;
|
||||
mFgSpringY.cancel();
|
||||
mBadge = null;
|
||||
sTmpObjArray[0] = null;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user