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

Commit 4818bc42 authored by Alex Chau's avatar Alex Chau
Browse files

Refresh Task overlay when thumbnail is refreshed

- TaplTestQuickStep.testOverviewActions is failing on cuttlefish large screens due to overview actions being disabled by NO_THUMBNAIL, which should be caused by thumbnail being loaded after overlay is enabled, a overlay refresh after thumbnails is loaded should fix the problem

Bug: 193125090
Test: manual
Change-Id: I3fa8093012c3d22adac49e5e0716576706a85dfa
parent da5fcc3e
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -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;