From 9ca39b2be4dca6daa70264361a09c57759e556b6 Mon Sep 17 00:00:00 2001 From: Sira Cuervo Date: Mon, 25 May 2015 14:53:09 -0300 Subject: [PATCH] Fix KeyButtonRipple color lighting after pressing --- .../com/android/systemui/statusbar/policy/KeyButtonRipple.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/policy/KeyButtonRipple.java b/packages/SystemUI/src/com/android/systemui/statusbar/policy/KeyButtonRipple.java index eb7dacdedc05..918874ccd825 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/policy/KeyButtonRipple.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/policy/KeyButtonRipple.java @@ -81,8 +81,8 @@ private Paint getRipplePaint() { if (mRipplePaint == null) { mRipplePaint = new Paint(); mRipplePaint.setAntiAlias(true); + mRipplePaint.setColor(mRippleColor); } - mRipplePaint.setColor(mRippleColor); return mRipplePaint; }