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

Commit 3f43df03 authored by Shinru Han's avatar Shinru Han Committed by Automerger Merge Worker
Browse files

Merge "Correct position mode in GetLocationLowPower test" into sc-dev am: 283c4915

Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/14513722

Change-Id: I217bc077b77d0569def16abecf27cd2e97b94ba3
parents 2dac9f47 283c4915
Loading
Loading
Loading
Loading
+2 −4
Original line number Original line Diff line number Diff line
@@ -464,12 +464,10 @@ TEST_P(GnssHalTest, GetLocationLowPower) {
    gnss_cb_->location_cbq_.reset();
    gnss_cb_->location_cbq_.reset();


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

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