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

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

Merge "Remove verification of native method in InCallTonePlayerTest." into tm-dev am: 22848b00

parents b1e9d53e 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());