Merge "[Telephony] Remove getChannelNumber from SDK" am: cadc1f6086 am: b5dfa219ba

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

Change-Id: I841fba8b27bff32fbe006192c093e43701662750
This commit is contained in:
Treehugger Robot
2021-04-29 03:37:00 +00:00
committed by Automerger Merge Worker
2 changed files with 0 additions and 11 deletions

View File

@@ -40406,7 +40406,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();

View File

@@ -181,16 +181,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.