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

Commit 7d753dd9 authored by Rambo Wang's avatar Rambo Wang
Browse files

Rename SignalThresholdInfo.Builder#setThresholdUnlimited

Update the clients of the hidden method.

Bug: 177956167
Test: atest com.android.internal.telephony.SignalThresholdInfoTest
Change-Id: Ie943d5dc6473664a002a29394cbbb703873a6b68
parent 5ee5ec2d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -4075,7 +4075,7 @@ public class GsmCdmaPhone extends Phone {
                        .setSignalMeasurementType(signalStrengthMeasure)
                        .setHysteresisMs(REPORTING_HYSTERESIS_MILLIS)
                        .setHysteresisDb(REPORTING_HYSTERESIS_DB)
                        .setThresholdsUnlimited(consolidatedThresholds)
                        .setThresholds(consolidatedThresholds, true /*isSystem*/)
                        .setIsEnabled(isEnabled)
                        .build(),
                ran, null);
+1 −1
Original line number Diff line number Diff line
@@ -165,7 +165,7 @@ public class SignalThresholdInfoTest extends TestCase {
                .setSignalMeasurementType(SignalThresholdInfo.SIGNAL_MEASUREMENT_TYPE_RSSI)
                .setHysteresisMs(0)
                .setHysteresisDb(0)
                .setThresholdsUnlimited(new int[]{})
                .setThresholds(new int[]{}, true /*isSystem*/)
                .setIsEnabled(false)
                .build());
        stList.add(new SignalThresholdInfo.Builder()