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

Commit d017b6d1 authored by Shinru Han's avatar Shinru Han
Browse files

Correct position mode in GetLocationLowPower test

Bug: 184728670
Test: on device
Change-Id: I3ee7078f0e7b87715c1b6d681bcdba421c6d5af7
parent 5e7e515c
Loading
Loading
Loading
Loading
+2 −4
Original line number Diff line number Diff line
@@ -464,12 +464,10 @@ TEST_P(GnssHalTest, GetLocationLowPower) {
    gnss_cb_->location_cbq_.reset();

    // Start of Low Power Mode test
    SetPositionMode(kMinIntervalMsec, kLowPowerMode);

    // Don't expect true - as without AGPS access
    if (!StartAndCheckFirstLocation(/* strict= */ false,
                                    /* min_interval_msec= */ 1000,
                                    /* low_power_mode= */ false)) {
                                    /* min_interval_msec= */ kMinIntervalMsec,
                                    /* low_power_mode= */ kLowPowerMode)) {
        ALOGW("GetLocationLowPower test - no first low power location received.");
    }