mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-02 00:36:49 +00:00
Merge "Reset splash icon when task icon is null to avoid caching incorrect drawable." into tm-qpr-dev
This commit is contained in:
@@ -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