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

Commit 023f12a0 authored by Jim Miller's avatar Jim Miller Committed by The Android Automerger
Browse files

Fix 6580421: make sure MultiWaveView.reset() makes handle visible

This fixes a bug where sometimes the handle wasn't visble in the
incoming call screen.  The problem was that the animation was
interrupted on its transition from alpha = 0 to alpha = 1 by reset()
and the new handle animation wasn't started.

Change-Id: I3ab4259db1115da20e7f54b91bbfe3b496940214
parent 06a7c06d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -419,6 +419,7 @@ public class MultiWaveView extends View {
            "y", 0,
            "onUpdate", mUpdateListener,
            "onComplete", finishListener));
        mHandleAnimations.start();
    }

    /**
@@ -528,7 +529,6 @@ public class MultiWaveView extends View {
            deactivateHandle(HIDE_ANIMATION_DURATION, HIDE_ANIMATION_DELAY, 1.0f,
                    mResetListenerWithPing);
            hideTargets(true, false);
            mHandleAnimations.start();
        }

        setGrabbedState(OnTriggerListener.NO_HANDLE);