From 1120e0355798391712f1d2e2b205f0bd3724770c Mon Sep 17 00:00:00 2001 From: Winson Chung Date: Tue, 22 Nov 2011 16:11:31 -0800 Subject: Fixing issue where shortcut holographic outlines were different than widgets. (Bug 5659891) - Also fixing regression where widget drag previews weren't slightly translucent Change-Id: I5370819589a2fc839df8742cda5156aec986b47d --- src/com/android/launcher2/Workspace.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/com/android/launcher2/Workspace.java') diff --git a/src/com/android/launcher2/Workspace.java b/src/com/android/launcher2/Workspace.java index ea7c0be7a..145feeae7 100644 --- a/src/com/android/launcher2/Workspace.java +++ b/src/com/android/launcher2/Workspace.java @@ -1891,9 +1891,7 @@ public class Workspace extends SmoothPagedView // center the image dst.offset((w - scaledWidth) / 2, (h - scaledHeight) / 2); - Paint p = new Paint(); - p.setFilterBitmap(true); - canvas.drawBitmap(orig, src, dst, p); + canvas.drawBitmap(orig, src, dst, null); mOutlineHelper.applyMediumExpensiveOutlineWithBlur(b, canvas, outlineColor, outlineColor, alphaClipPaint); canvas.setBitmap(null); -- cgit v1.2.3