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

Commit 215eee9a authored by Zoey Chen's avatar Zoey Chen Committed by Automerger Merge Worker
Browse files

Merge "[PhysicalChannelConfig] RIL will report UNKNOWN range to...

Merge "[PhysicalChannelConfig] RIL will report UNKNOWN range to PhysicalChannelConfig and it can not throw out Exception." into sc-dev am: 20c5582b

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13425168

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I77b1a7a6c2a75fd14e6f100e6c2c653b56eb72ab
parents 75f9eb49 20c5582b
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -554,7 +554,8 @@ public final class PhysicalChannelConfig implements Parcelable {
        }

        public @NonNull Builder setFrequencyRange(int frequencyRange) {
            if (!ServiceState.isFrequencyRangeValid(frequencyRange)) {
            if (!ServiceState.isFrequencyRangeValid(frequencyRange)
                    && frequencyRange != ServiceState.FREQUENCY_RANGE_UNKNOWN) {
                throw new IllegalArgumentException("Frequency range: " + frequencyRange +
                        " is invalid.");
            }