Merge "Reset splash icon when task icon is null to avoid caching incorrect drawable." into tm-qpr-dev
This commit is contained in:
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();
|
||||
|
||||
Reference in new issue
Block a user