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

Commit 8570d1f9 authored by kai's avatar kai
Browse files

RemoteDevicesTest testSendUunidIntent

Check mylooper before use quitSafely.

Bug: 64694151
Test: runtest bluetooth
Change-Id: Ie46a120e9e7449a71f5c538f7e3db5ecc220ad6e
(cherry picked from commit fc0e41c806adf640c7fdf8ff8157933827182141)
parent 715aeae1
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -54,7 +54,9 @@ public class RemoteDevicesTest {
    @Test
    public void testSendUuidIntent() {
        mRemoteDevices.updateUuids(mDevice1);
        if (Looper.myLooper() != null) {
            Looper.myLooper().quitSafely();
        }
        Looper.loop();

        verify(mAdapterService).sendBroadcast(any(), anyString());