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

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