Merge "Unhide isRttSupported in TelephonyManager"
am: 3d834a0e69
Change-Id: I64743243d2a3d6ed140bf2d8370f46779fc74a95
This commit is contained in:
@@ -43074,6 +43074,7 @@ package android.telephony {
|
|||||||
method @RequiresPermission(anyOf={android.Manifest.permission.ACCESS_NETWORK_STATE, android.Manifest.permission.READ_PHONE_STATE}) public boolean isDataRoamingEnabled();
|
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 isHearingAidCompatibilitySupported();
|
||||||
method public boolean isNetworkRoaming();
|
method public boolean isNetworkRoaming();
|
||||||
|
method public boolean isRttSupported();
|
||||||
method public boolean isSmsCapable();
|
method public boolean isSmsCapable();
|
||||||
method @Deprecated public boolean isTtyModeSupported();
|
method @Deprecated public boolean isTtyModeSupported();
|
||||||
method public boolean isVoiceCapable();
|
method public boolean isVoiceCapable();
|
||||||
|
|||||||
@@ -1477,7 +1477,6 @@ package android.telephony {
|
|||||||
|
|
||||||
public class TelephonyManager {
|
public class TelephonyManager {
|
||||||
method public int getCarrierIdListVersion();
|
method public int getCarrierIdListVersion();
|
||||||
method public boolean isRttSupported();
|
|
||||||
method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void refreshUiccProfile();
|
method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void refreshUiccProfile();
|
||||||
method public void setCarrierTestOverride(String, String, String, String, String, String, String);
|
method public void setCarrierTestOverride(String, String, String, String, String, String, String);
|
||||||
field public static final int UNKNOWN_CARRIER_ID_LIST_VERSION = -1; // 0xffffffff
|
field public static final int UNKNOWN_CARRIER_ID_LIST_VERSION = -1; // 0xffffffff
|
||||||
|
|||||||
@@ -7858,9 +7858,7 @@ public class TelephonyManager {
|
|||||||
* support for the feature and device firmware support.
|
* support for the feature and device firmware support.
|
||||||
*
|
*
|
||||||
* @return {@code true} if the device and carrier both support RTT, {@code false} otherwise.
|
* @return {@code true} if the device and carrier both support RTT, {@code false} otherwise.
|
||||||
* @hide
|
|
||||||
*/
|
*/
|
||||||
@TestApi
|
|
||||||
public boolean isRttSupported() {
|
public boolean isRttSupported() {
|
||||||
try {
|
try {
|
||||||
ITelephony telephony = getITelephony();
|
ITelephony telephony = getITelephony();
|
||||||
|
|||||||
Reference in New Issue
Block a user