Merge "Reset splash icon when task icon is null to avoid caching incorrect drawable." into tm-qpr-dev

This commit is contained in:
Pat Manning authored and Android (Google) Code Review committed 2023-01-20 14:17:09 +00:00
commit 0f76a4d810
1 file changed
+2
@@ -377,6 +377,8 @@ public class TaskThumbnailView extends View {
private void updateSplashView(Drawable icon) {
if (icon == null || icon.getConstantState() == null) {
mSplashViewDrawable = null;
mSplashView = null;
return;
}
mSplashViewDrawable = icon.getConstantState().newDrawable().mutate();