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

Commit bc37ee16 authored by yuanjiahsu's avatar yuanjiahsu
Browse files

Replaced verifyZeroInteractions with verifyNoMoreInteractions

Fix the build breakage caused by deprecated method.

Test: atest ClipboardListenerTest
Bug: 370637276
Flag: TEST_ONLY
Change-Id: I595e6a7f672d0817c52891c6e903a5c28aa51f3d
parent baed9067
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -268,7 +268,7 @@ public class ClipboardListenerTest extends SysuiTestCase {

        verify(mClipboardOverlaySuppressionController).shouldSuppressOverlay(mSampleClipData,
                mSampleSource, Build.IS_EMULATOR);
        verifyZeroInteractions(mOverlayControllerProvider);
        verifyNoMoreInteractions(mOverlayControllerProvider);
    }

    @Test
@@ -296,7 +296,7 @@ public class ClipboardListenerTest extends SysuiTestCase {
        mClipboardListener.start();
        mClipboardListener.onPrimaryClipChanged();

        verifyZeroInteractions(mOverlayControllerProvider);
        verifyNoMoreInteractions(mOverlayControllerProvider);
    }

    @Test