Unhide isRttSupported in TelephonyManager

Was hidden due to development process and never unhidden.

Change-Id: I1ef35e9988ad45491b2098628024f8d96b11ae3b
Fixes: 119620879
Test: compiles
This commit is contained in:
Hall Liu
2019-01-31 11:37:45 -08:00
parent c9d834e3f5
commit 5a0f2501c5
3 changed files with 1 additions and 3 deletions

View File

@@ -43069,6 +43069,7 @@ package android.telephony {
method @RequiresPermission(anyOf={android.Manifest.permission.ACCESS_NETWORK_STATE, android.Manifest.permission.READ_PHONE_STATE}) public boolean isDataRoamingEnabled();
method public boolean isHearingAidCompatibilitySupported();
method public boolean isNetworkRoaming();
method public boolean isRttSupported();
method public boolean isSmsCapable();
method @Deprecated public boolean isTtyModeSupported();
method public boolean isVoiceCapable();

View File

@@ -1472,7 +1472,6 @@ package android.telephony {
public class TelephonyManager {
method public int getCarrierIdListVersion();
method public boolean isRttSupported();
method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void refreshUiccProfile();
method public void setCarrierTestOverride(String, String, String, String, String, String, String);
field public static final int UNKNOWN_CARRIER_ID_LIST_VERSION = -1; // 0xffffffff

View File

@@ -7808,9 +7808,7 @@ public class TelephonyManager {
* support for the feature and device firmware support.
*
* @return {@code true} if the device and carrier both support RTT, {@code false} otherwise.
* @hide
*/
@TestApi
public boolean isRttSupported() {
try {
ITelephony telephony = getITelephony();