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

Commit 65661279 authored by Nathan Harold's avatar Nathan Harold Committed by Automerger Merge Worker
Browse files

Merge changes from topic "servicelocation" am: 17b05cb6 am: ee538d63

Original change: https://android-review.googlesource.com/c/platform/frameworks/opt/telephony/+/1355900

Change-Id: I9321fce3238a28c6bd96d0199ea5377442ba82d0
parents c6409f7a ee538d63
Loading
Loading
Loading
Loading
+0 −16
Original line number Original line Diff line number Diff line
@@ -1792,22 +1792,6 @@ public class ServiceStateTrackerTest extends TelephonyTest {
        assertEquals(sst.getDesiredPowerState(), true);
        assertEquals(sst.getDesiredPowerState(), true);
    }
    }


    @Test
    @MediumTest
    public void testEnableLocationUpdates() throws Exception {
        sst.enableLocationUpdates();
        verify(mSimulatedCommandsVerifier, times(1)).setLocationUpdates(eq(true),
                any(Message.class));
    }

    @Test
    @SmallTest
    public void testDisableLocationUpdates() throws Exception {
        sst.disableLocationUpdates();
        verify(mSimulatedCommandsVerifier, times(1)).setLocationUpdates(eq(false),
                nullable(Message.class));
    }

    @Test
    @Test
    @SmallTest
    @SmallTest
    public void testGetCurrentDataRegState() throws Exception {
    public void testGetCurrentDataRegState() throws Exception {