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

Commit 67e5d10c authored by Sebastián Franco's avatar Sebastián Franco Committed by Automerger Merge Worker
Browse files

Merge "Task thumbnail background is spilling to the front, making the BK 1px...

Merge "Task thumbnail background is spilling to the front, making the BK 1px smaller to fix it" into tm-dev am: 1c11c531

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17060224

Change-Id: I18b31808544ed5102e1fce974e6d35558bc221b2
parents d9c077b3 1c11c531
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -300,7 +300,8 @@ public class TaskThumbnailView extends View {
        // Always draw the background since the snapshots might be translucent or partially empty
        // (For example, tasks been reparented out of dismissing split root when drag-to-dismiss
        // split screen).
        canvas.drawRoundRect(x, y, width, height, cornerRadius, cornerRadius, mBackgroundPaint);
        canvas.drawRoundRect(x, y + 1, width, height - 1, cornerRadius,
                cornerRadius, mBackgroundPaint);

        final boolean drawBackgroundOnly = mTask == null || mTask.isLocked || mBitmapShader == null
                || mThumbnailData == null;