Merge "Refresh Task overlay when thumbnail is refreshed" into sc-v2-dev

This commit is contained in:
Alex Chau
2021-07-12 14:37:08 +00:00
committed by Android (Google) Code Review

View File

@@ -31,8 +31,6 @@ import android.graphics.ColorFilter;
import android.graphics.Insets;
import android.graphics.Matrix;
import android.graphics.Paint;
import android.graphics.PorterDuff;
import android.graphics.PorterDuffXfermode;
import android.graphics.Rect;
import android.graphics.RectF;
import android.graphics.Shader;
@@ -165,6 +163,7 @@ public class TaskThumbnailView extends View implements PluginListener<OverviewSc
mBitmapShader = new BitmapShader(bm, Shader.TileMode.CLAMP, Shader.TileMode.CLAMP);
mPaint.setShader(mBitmapShader);
updateThumbnailMatrix();
refreshOverlay();
} else {
mBitmapShader = null;
mThumbnailData = null;