Loading api/current.txt +1 −0 Original line number Diff line number Diff line Loading @@ -36419,6 +36419,7 @@ package android.telecom { public class TelecomManager { method public void addNewIncomingCall(android.telecom.PhoneAccountHandle, android.os.Bundle); method public void cancelMissedCallsNotification(); method public android.content.Intent createManageBlockedNumbersIntent(); method public android.net.Uri getAdnUriForPhoneAccount(android.telecom.PhoneAccountHandle); method public java.util.List<android.telecom.PhoneAccountHandle> getCallCapablePhoneAccounts(); method public java.lang.String getDefaultDialerPackage(); api/system-current.txt +1 −0 Original line number Diff line number Diff line Loading @@ -39118,6 +39118,7 @@ package android.telecom { method public void cancelMissedCallsNotification(); method public deprecated void clearAccounts(); method public void clearPhoneAccounts(); method public android.content.Intent createManageBlockedNumbersIntent(); method public java.util.List<android.telecom.ParcelableCallAnalytics> dumpAnalytics(); method public void enablePhoneAccount(android.telecom.PhoneAccountHandle, boolean); method public boolean endCall(); api/test-current.txt +1 −0 Original line number Diff line number Diff line Loading @@ -36434,6 +36434,7 @@ package android.telecom { public class TelecomManager { method public void addNewIncomingCall(android.telecom.PhoneAccountHandle, android.os.Bundle); method public void cancelMissedCallsNotification(); method public android.content.Intent createManageBlockedNumbersIntent(); method public android.net.Uri getAdnUriForPhoneAccount(android.telecom.PhoneAccountHandle); method public java.util.List<android.telecom.PhoneAccountHandle> getCallCapablePhoneAccounts(); method public java.lang.String getDefaultDialerPackage(); telecomm/java/android/telecom/TelecomManager.java +21 −0 Original line number Diff line number Diff line Loading @@ -1426,6 +1426,7 @@ public class TelecomManager { * {@link android.provider.BlockedNumberContract#canCurrentUserBlockNumbers(Context)} returns * {@code true} for the current user. */ // TODO: Delete this. public void launchManageBlockedNumbersActivity() { ITelecomService service = getTelecomService(); if (service != null) { Loading @@ -1437,6 +1438,26 @@ public class TelecomManager { } } /** * Creates the {@link Intent} which can be used with {@link Context#startActivity(Intent)} to * launch the activity to manage blocked numbers. * <p> This method displays the UI to manage blocked numbers only if * {@link android.provider.BlockedNumberContract#canCurrentUserBlockNumbers(Context)} returns * {@code true} for the current user. */ public Intent createManageBlockedNumbersIntent() { ITelecomService service = getTelecomService(); Intent result = null; if (service != null) { try { result = service.createManageBlockedNumbersIntent(); } catch (RemoteException e) { Log.e(TAG, "Error calling ITelecomService#createManageBlockedNumbersIntent", e); } } return result; } private ITelecomService getTelecomService() { if (mTelecomServiceOverride != null) { return mTelecomServiceOverride; Loading Loading
api/current.txt +1 −0 Original line number Diff line number Diff line Loading @@ -36419,6 +36419,7 @@ package android.telecom { public class TelecomManager { method public void addNewIncomingCall(android.telecom.PhoneAccountHandle, android.os.Bundle); method public void cancelMissedCallsNotification(); method public android.content.Intent createManageBlockedNumbersIntent(); method public android.net.Uri getAdnUriForPhoneAccount(android.telecom.PhoneAccountHandle); method public java.util.List<android.telecom.PhoneAccountHandle> getCallCapablePhoneAccounts(); method public java.lang.String getDefaultDialerPackage();
api/system-current.txt +1 −0 Original line number Diff line number Diff line Loading @@ -39118,6 +39118,7 @@ package android.telecom { method public void cancelMissedCallsNotification(); method public deprecated void clearAccounts(); method public void clearPhoneAccounts(); method public android.content.Intent createManageBlockedNumbersIntent(); method public java.util.List<android.telecom.ParcelableCallAnalytics> dumpAnalytics(); method public void enablePhoneAccount(android.telecom.PhoneAccountHandle, boolean); method public boolean endCall();
api/test-current.txt +1 −0 Original line number Diff line number Diff line Loading @@ -36434,6 +36434,7 @@ package android.telecom { public class TelecomManager { method public void addNewIncomingCall(android.telecom.PhoneAccountHandle, android.os.Bundle); method public void cancelMissedCallsNotification(); method public android.content.Intent createManageBlockedNumbersIntent(); method public android.net.Uri getAdnUriForPhoneAccount(android.telecom.PhoneAccountHandle); method public java.util.List<android.telecom.PhoneAccountHandle> getCallCapablePhoneAccounts(); method public java.lang.String getDefaultDialerPackage();
telecomm/java/android/telecom/TelecomManager.java +21 −0 Original line number Diff line number Diff line Loading @@ -1426,6 +1426,7 @@ public class TelecomManager { * {@link android.provider.BlockedNumberContract#canCurrentUserBlockNumbers(Context)} returns * {@code true} for the current user. */ // TODO: Delete this. public void launchManageBlockedNumbersActivity() { ITelecomService service = getTelecomService(); if (service != null) { Loading @@ -1437,6 +1438,26 @@ public class TelecomManager { } } /** * Creates the {@link Intent} which can be used with {@link Context#startActivity(Intent)} to * launch the activity to manage blocked numbers. * <p> This method displays the UI to manage blocked numbers only if * {@link android.provider.BlockedNumberContract#canCurrentUserBlockNumbers(Context)} returns * {@code true} for the current user. */ public Intent createManageBlockedNumbersIntent() { ITelecomService service = getTelecomService(); Intent result = null; if (service != null) { try { result = service.createManageBlockedNumbersIntent(); } catch (RemoteException e) { Log.e(TAG, "Error calling ITelecomService#createManageBlockedNumbersIntent", e); } } return result; } private ITelecomService getTelecomService() { if (mTelecomServiceOverride != null) { return mTelecomServiceOverride; Loading