Merge "Give FloatingIconView a copy of, rather than, the original icon." into tm-dev

This commit is contained in:
Stefan Andonian authored and Android (Google) Code Review committed 2022-06-02 15:33:45 +00:00
commit 0c809bbe67
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;