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

Commit 283c4915 authored by Shinru Han's avatar Shinru Han Committed by Android (Google) Code Review
Browse files

Merge "Correct position mode in GetLocationLowPower test" into sc-dev

parents 7e0b2f5a d017b6d1
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.");
    }