Merge "Give FloatingIconView a copy of, rather than, the original icon."

This commit is contained in:
Stefan Andonian authored and Android (Google) Code Review committed 2022-05-31 17:31:45 +00:00
commit 1644346e76
1 file changed
+1 -1
@@ -525,7 +525,7 @@ public class FloatingIconView extends FrameLayout implements
& ItemInfoWithIcon.FLAG_SHOW_DOWNLOAD_PROGRESS_MASK) != 0) {
btvIcon = btv.makePreloadIcon();
} else {
btvIcon = btv.getIcon();
btvIcon = (FastBitmapDrawable) btv.getIcon().getConstantState().newDrawable();
}
} else {
btvIcon = null;