diff --git a/api/current.txt b/api/current.txt index 7f6ca372e775f..1033f5218bdac 100644 --- a/api/current.txt +++ b/api/current.txt @@ -36422,7 +36422,7 @@ package android.telecom { method public boolean handleMmi(java.lang.String, android.telecom.PhoneAccountHandle); method public boolean isInCall(); method public boolean isVoiceMailNumber(android.telecom.PhoneAccountHandle, java.lang.String); - method public void launchManageBlockedNumbersActivity(); + method public deprecated void launchManageBlockedNumbersActivity(); method public void placeCall(android.net.Uri, android.os.Bundle); method public void registerPhoneAccount(android.telecom.PhoneAccount); method public void showInCallScreen(boolean); diff --git a/api/system-current.txt b/api/system-current.txt index 759876f53b465..5995a0ba8996e 100644 --- a/api/system-current.txt +++ b/api/system-current.txt @@ -39134,7 +39134,7 @@ package android.telecom { method public boolean isRinging(); method public boolean isTtySupported(); method public boolean isVoiceMailNumber(android.telecom.PhoneAccountHandle, java.lang.String); - method public void launchManageBlockedNumbersActivity(); + method public deprecated void launchManageBlockedNumbersActivity(); method public void placeCall(android.net.Uri, android.os.Bundle); method public void registerPhoneAccount(android.telecom.PhoneAccount); method public void showInCallScreen(boolean); diff --git a/api/test-current.txt b/api/test-current.txt index 372ca3edcd41f..c6e9a7a6bf01b 100644 --- a/api/test-current.txt +++ b/api/test-current.txt @@ -36437,7 +36437,7 @@ package android.telecom { method public boolean handleMmi(java.lang.String, android.telecom.PhoneAccountHandle); method public boolean isInCall(); method public boolean isVoiceMailNumber(android.telecom.PhoneAccountHandle, java.lang.String); - method public void launchManageBlockedNumbersActivity(); + method public deprecated void launchManageBlockedNumbersActivity(); method public void placeCall(android.net.Uri, android.os.Bundle); method public void registerPhoneAccount(android.telecom.PhoneAccount); method public void showInCallScreen(boolean); diff --git a/telecomm/java/android/telecom/TelecomManager.java b/telecomm/java/android/telecom/TelecomManager.java index 857d2df9b73c6..605e0d3acd90b 100644 --- a/telecomm/java/android/telecom/TelecomManager.java +++ b/telecomm/java/android/telecom/TelecomManager.java @@ -1425,6 +1425,7 @@ public class TelecomManager { *

This method displays the UI to manage blocked numbers only if * {@link android.provider.BlockedNumberContract#canCurrentUserBlockNumbers(Context)} returns * {@code true} for the current user. + * @deprecated Use {@link #createManageBlockedNumbersIntent()} instead. */ // TODO: Delete this. public void launchManageBlockedNumbersActivity() {