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

Commit 40c37349 authored by Alan Viverette's avatar Alan Viverette
Browse files

Fix ripple cancel

BUG: 14495933
Change-Id: Ie3498f35705b70e4c059ff86250cef4746f174da
parent 0e82d134
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
@@ -299,7 +299,7 @@ class Ripple {
     */
     */
    public void cancel() {
    public void cancel() {
        if (mInner != null) {
        if (mInner != null) {
            mInner.end();
            mInner.cancel();
        }
        }


        if (mOuter != null) {
        if (mOuter != null) {
@@ -307,7 +307,7 @@ class Ripple {
        }
        }


        if (mAlpha != null) {
        if (mAlpha != null) {
            mAlpha.end();
            mAlpha.cancel();
        }
        }
    }
    }