Remove deprecated API launchManageBlockedNumbersActivity
BUG: 27364137 Change-Id: Ie608c3f75d5fe353a1ba127b0da763c421401eb8
This commit is contained in:
@@ -1432,25 +1432,6 @@ public class TelecomManager {
|
||||
return result;
|
||||
}
|
||||
|
||||
/**
|
||||
* Launches the {@link android.app.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.
|
||||
* @deprecated Use {@link #createManageBlockedNumbersIntent()} instead.
|
||||
*/
|
||||
// TODO: Delete this.
|
||||
public void launchManageBlockedNumbersActivity() {
|
||||
ITelecomService service = getTelecomService();
|
||||
if (service != null) {
|
||||
try {
|
||||
service.launchManageBlockedNumbersActivity(mContext.getPackageName());
|
||||
} catch (RemoteException e) {
|
||||
Log.e(TAG, "Error calling ITelecomService#manageBlockedNumbers", e);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Creates the {@link Intent} which can be used with {@link Context#startActivity(Intent)} to
|
||||
* launch the activity to manage blocked numbers.
|
||||
|
||||
Reference in New Issue
Block a user