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

Commit c2ed8f45 authored by Jiaquan He's avatar Jiaquan He Committed by android-build-merger
Browse files

Merge "Fix the back button ripple." into oc-dev am: a7914f24

am: 665d86a0

Change-Id: I27e94ab8e43fec9339cac03b49738069c1dbe206
parents 93ba4b1e 665d86a0
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -194,6 +194,11 @@ public class KeyButtonRipple extends Drawable {
        return true;
    }

    @Override
    public boolean hasFocusStateSpecified() {
        return true;
    }

    public void setPressed(boolean pressed) {
        if (mDark != mLastDark && pressed) {
            mRipplePaint = null;