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

Commit 665d86a0 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

Change-Id: I35e474ed44380821278009945529474b6251c23b
parents bf79e36f a7914f24
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;