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

Commit 0ff06379 authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "[Telephony] Remove getChannelNumber from SDK" am: cadc1f60 am: b5dfa219 am: 7c32a3f5

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

Change-Id: Idfd940eff40c0b485bee00603258555101d1309e
parents 1b68aeee 7c32a3f5
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -41990,7 +41990,6 @@ package android.telephony {
    method @IntRange(from=1, to=261) public int getBand();
    method @IntRange(from=1) public int getCellBandwidthDownlinkKhz();
    method @IntRange(from=1) public int getCellBandwidthUplinkKhz();
    method @Deprecated public int getChannelNumber();
    method public int getConnectionStatus();
    method @IntRange(from=0) public int getDownlinkChannelNumber();
    method @IntRange(from=0) public int getDownlinkFrequencyKhz();
+0 −10
Original line number Diff line number Diff line
@@ -182,16 +182,6 @@ public final class PhysicalChannelConfig implements Parcelable {
        return mContextIds;
    }

    /**
     * @return the absolute radio frequency channel number for this physical channel,
     * {@link #CHANNEL_NUMBER_UNKNOWN} if unknown.
     * @deprecated Use {@link #getDownlinkChannelNumber()} to get the channel number.
     */
    @Deprecated
    public int getChannelNumber() {
        return getDownlinkChannelNumber();
    }

    /**
     * @return the rough frequency range for this physical channel,
     * {@link ServiceState#FREQUENCY_RANGE_UNKNOWN} if unknown.