Revert "Add multi-sim support for getCarrierPackageNamesForIntent."

This reverts commit 0ff9fd87d0.

Change-Id: I099c612ff1715c5c34c0ed9bc1bec460a1a5db01
This commit is contained in:
Jeff Sharkey
2015-04-19 04:59:56 +00:00
parent 0ff9fd87d0
commit 1b7ed7b1c2
2 changed files with 7 additions and 14 deletions

View File

@ -740,16 +740,15 @@ interface ITelephony {
int checkCarrierPrivilegesForPackage(String pkgname);
/**
* Returns list of the package names of the carrier apps that should handle the input intent
* and have carrier privileges for the given phoneId.
* Returns the package name of the carrier apps that should handle the input intent.
*
* @param packageManager PackageManager for getting receivers.
* @param intent Intent that will be sent.
* @param phoneId The phoneId on which the carrier app has carrier privileges.
* @return list of carrier app package names that can handle the intent on phoneId.
* @return list of carrier app package names that can handle the intent.
* Returns null if there is an error and an empty list if there
* are no matching packages.
*/
List<String> getCarrierPackageNamesForIntentAndPhone(in Intent intent, int phoneId);
List<String> getCarrierPackageNamesForIntent(in Intent intent);
/**
* Set the line 1 phone number string and its alphatag for the current ICCID