diff --git a/api/current.txt b/api/current.txt index 8be92566f31d6..a6e8aba98bdd3 100644 --- a/api/current.txt +++ b/api/current.txt @@ -36420,7 +36420,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 96c903cce55b7..c752f4b404472 100644 --- a/api/system-current.txt +++ b/api/system-current.txt @@ -39133,7 +39133,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 ebeae1c97e7e1..918ac46b1704e 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() {