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

Commit a6faa58a authored by Tyler Gunn's avatar Tyler Gunn Committed by Automerger Merge Worker
Browse files

Merge "Fix issue where InCallTonePlayer could fail to stop ringback." into...

Merge "Fix issue where InCallTonePlayer could fail to stop ringback." into tm-dev am: 0c3e45d6 am: 61a974dc

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/services/Telecomm/+/17897950



Change-Id: I4b5fa87530326fea1c6ac0c5429e61619b60a8ed
Ignore-AOSP-First: this is an automerge
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents 33a06c6a 61a974dc
Loading
Loading
Loading
Loading
+4 −5
Original line number Diff line number Diff line
@@ -510,11 +510,10 @@ public class InCallTonePlayer extends Thread {
     */
    @VisibleForTesting
    public void stopTone() {
        if (mState == STATE_ON) {
        Log.i(this, "stopTone: Stopping the tone %d.", mToneId);
        // Notify the playback to end early.
        mPlaybackLatch.countDown();
        }

        mState = STATE_STOPPED;
    }