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

Commit c59ddfe5 authored by Android Build Coastguard Worker's avatar Android Build Coastguard Worker
Browse files

Snap for 8561975 from 22848b00 to tm-release

Change-Id: I868b2bcb83bfab9b91c4c9fddc76c1600ed3e535
parents 19606ccc 22848b00
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -181,7 +181,9 @@ public class InCallTonePlayerTest extends TelecomTestCase {
        mInCallTonePlayer.stopTone();
        // Timeouts due to threads!
        verify(mCallAudioManager, timeout(5000)).setIsTonePlaying(eq(false));
        verify(mToneGenerator, timeout(5000)).release();
        // Ideally it would be nice to verify this, however release is a native method so appears to
        // cause flakiness when testing on Cuttlefish.
        // verify(mToneGenerator, timeout(5000)).release();

        // Correctness check: ensure we can't start the tone again.
        assertFalse(mInCallTonePlayer.startTone());