Merge "Deprecate setVoicemailRingtoneUri and setVoicemailVibrationEnabled"
This commit is contained in:
@@ -40427,8 +40427,8 @@ package android.telephony {
|
|||||||
method public boolean setPreferredNetworkTypeToGlobal();
|
method public boolean setPreferredNetworkTypeToGlobal();
|
||||||
method public void setVisualVoicemailSmsFilterSettings(android.telephony.VisualVoicemailSmsFilterSettings);
|
method public void setVisualVoicemailSmsFilterSettings(android.telephony.VisualVoicemailSmsFilterSettings);
|
||||||
method public boolean setVoiceMailNumber(java.lang.String, java.lang.String);
|
method public boolean setVoiceMailNumber(java.lang.String, java.lang.String);
|
||||||
method public void setVoicemailRingtoneUri(android.telecom.PhoneAccountHandle, android.net.Uri);
|
method public deprecated void setVoicemailRingtoneUri(android.telecom.PhoneAccountHandle, android.net.Uri);
|
||||||
method public void setVoicemailVibrationEnabled(android.telecom.PhoneAccountHandle, boolean);
|
method public deprecated void setVoicemailVibrationEnabled(android.telecom.PhoneAccountHandle, boolean);
|
||||||
field public static final java.lang.String ACTION_CONFIGURE_VOICEMAIL = "android.telephony.action.CONFIGURE_VOICEMAIL";
|
field public static final java.lang.String ACTION_CONFIGURE_VOICEMAIL = "android.telephony.action.CONFIGURE_VOICEMAIL";
|
||||||
field public static final java.lang.String ACTION_PHONE_STATE_CHANGED = "android.intent.action.PHONE_STATE";
|
field public static final java.lang.String ACTION_PHONE_STATE_CHANGED = "android.intent.action.PHONE_STATE";
|
||||||
field public static final java.lang.String ACTION_RESPOND_VIA_MESSAGE = "android.intent.action.RESPOND_VIA_MESSAGE";
|
field public static final java.lang.String ACTION_RESPOND_VIA_MESSAGE = "android.intent.action.RESPOND_VIA_MESSAGE";
|
||||||
|
|||||||
@@ -6527,6 +6527,9 @@ public class TelephonyManager {
|
|||||||
* @param uri The URI for the ringtone to play when receiving a voicemail from a specific
|
* @param uri The URI for the ringtone to play when receiving a voicemail from a specific
|
||||||
* PhoneAccount.
|
* PhoneAccount.
|
||||||
* @see #hasCarrierPrivileges
|
* @see #hasCarrierPrivileges
|
||||||
|
*
|
||||||
|
* @deprecated Use {@link android.provider.Settings#ACTION_CHANNEL_NOTIFICATION_SETTINGS}
|
||||||
|
* instead.
|
||||||
*/
|
*/
|
||||||
public void setVoicemailRingtoneUri(PhoneAccountHandle phoneAccountHandle, Uri uri) {
|
public void setVoicemailRingtoneUri(PhoneAccountHandle phoneAccountHandle, Uri uri) {
|
||||||
try {
|
try {
|
||||||
@@ -6569,6 +6572,9 @@ public class TelephonyManager {
|
|||||||
* @param enabled Whether to enable or disable vibration for voicemail notifications from a
|
* @param enabled Whether to enable or disable vibration for voicemail notifications from a
|
||||||
* specific PhoneAccount.
|
* specific PhoneAccount.
|
||||||
* @see #hasCarrierPrivileges
|
* @see #hasCarrierPrivileges
|
||||||
|
*
|
||||||
|
* @deprecated Use {@link android.provider.Settings#ACTION_CHANNEL_NOTIFICATION_SETTINGS}
|
||||||
|
* instead.
|
||||||
*/
|
*/
|
||||||
public void setVoicemailVibrationEnabled(PhoneAccountHandle phoneAccountHandle,
|
public void setVoicemailVibrationEnabled(PhoneAccountHandle phoneAccountHandle,
|
||||||
boolean enabled) {
|
boolean enabled) {
|
||||||
|
|||||||
Reference in New Issue
Block a user