Merge "Fix doc for Telephony Manager api and make isTtySupported public."
This commit is contained in:
committed by
Android (Google) Code Review
commit
8ccd08c76e
@@ -39524,6 +39524,7 @@ package android.telecom {
|
||||
method public boolean isInManagedCall();
|
||||
method public boolean isIncomingCallPermitted(android.telecom.PhoneAccountHandle);
|
||||
method public boolean isOutgoingCallPermitted(android.telecom.PhoneAccountHandle);
|
||||
method public boolean isTtySupported();
|
||||
method public boolean isVoiceMailNumber(android.telecom.PhoneAccountHandle, java.lang.String);
|
||||
method public void placeCall(android.net.Uri, android.os.Bundle);
|
||||
method public void registerPhoneAccount(android.telecom.PhoneAccount);
|
||||
|
||||
@@ -39815,6 +39815,7 @@ package android.telecom {
|
||||
method public boolean isInManagedCall();
|
||||
method public boolean isIncomingCallPermitted(android.telecom.PhoneAccountHandle);
|
||||
method public boolean isOutgoingCallPermitted(android.telecom.PhoneAccountHandle);
|
||||
method public boolean isTtySupported();
|
||||
method public boolean isVoiceMailNumber(android.telecom.PhoneAccountHandle, java.lang.String);
|
||||
method public void placeCall(android.net.Uri, android.os.Bundle);
|
||||
method public void registerPhoneAccount(android.telecom.PhoneAccount);
|
||||
|
||||
@@ -1345,10 +1345,8 @@ public class TelecomManager {
|
||||
|
||||
/**
|
||||
* Returns whether TTY is supported on this device.
|
||||
*
|
||||
* @hide
|
||||
*/
|
||||
@SystemApi
|
||||
|
||||
@RequiresPermission(anyOf = {
|
||||
android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE,
|
||||
android.Manifest.permission.READ_PHONE_STATE
|
||||
|
||||
@@ -48,6 +48,7 @@ import android.provider.Settings.SettingNotFoundException;
|
||||
import android.service.carrier.CarrierIdentifier;
|
||||
import android.telecom.PhoneAccount;
|
||||
import android.telecom.PhoneAccountHandle;
|
||||
import android.telecom.TelecomManager;
|
||||
import android.telephony.VisualVoicemailService.VisualVoicemailTask;
|
||||
import android.telephony.ims.feature.ImsFeature;
|
||||
import android.util.Log;
|
||||
@@ -5775,7 +5776,7 @@ public class TelephonyManager {
|
||||
}
|
||||
|
||||
/**
|
||||
* @deprecated Use {@link android.telecom.TelecomManager#silenceRinger} instead
|
||||
* @deprecated Use {@link TelecomManager#isTtySupported()} instead
|
||||
* Whether the phone supports TTY mode.
|
||||
*
|
||||
* @return {@code true} if the device supports TTY mode, and {@code false} otherwise.
|
||||
|
||||
Reference in New Issue
Block a user