Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit cd777a3f authored by Alex Chau's avatar Alex Chau Committed by Android (Google) Code Review
Browse files

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

parents 8c88c772 4818bc42
Loading
Loading
Loading
Loading
+1 −2
Original line number Original line Diff line number Diff line
@@ -31,8 +31,6 @@ import android.graphics.ColorFilter;
import android.graphics.Insets;
import android.graphics.Insets;
import android.graphics.Matrix;
import android.graphics.Matrix;
import android.graphics.Paint;
import android.graphics.Paint;
import android.graphics.PorterDuff;
import android.graphics.PorterDuffXfermode;
import android.graphics.Rect;
import android.graphics.Rect;
import android.graphics.RectF;
import android.graphics.RectF;
import android.graphics.Shader;
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);
            mBitmapShader = new BitmapShader(bm, Shader.TileMode.CLAMP, Shader.TileMode.CLAMP);
            mPaint.setShader(mBitmapShader);
            mPaint.setShader(mBitmapShader);
            updateThumbnailMatrix();
            updateThumbnailMatrix();
            refreshOverlay();
        } else {
        } else {
            mBitmapShader = null;
            mBitmapShader = null;
            mThumbnailData = null;
            mThumbnailData = null;