diff options
author | Jonathan Basseri <misterikkit@google.com> | 2015-04-20 19:59:37 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2015-04-20 19:59:39 +0000 |
commit | 5f24126e2ef51c5d0e9ccc7500a6226c63567200 (patch) | |
tree | a5e6ba8f54d7aa7c376a20154ec963b2a0dd2346 /telephony/java/com | |
parent | dcba951d548b909707a427db5a6b65335c971cba (diff) | |
parent | f3c7bf432dc5c21fdecbb44865c037313d21b4cf (diff) | |
download | frameworks_base-5f24126e2ef51c5d0e9ccc7500a6226c63567200.zip frameworks_base-5f24126e2ef51c5d0e9ccc7500a6226c63567200.tar.gz frameworks_base-5f24126e2ef51c5d0e9ccc7500a6226c63567200.tar.bz2 |
Merge "Add multi-sim support for getCarrierPackageNamesForIntent."
Diffstat (limited to 'telephony/java/com')
-rw-r--r-- | telephony/java/com/android/internal/telephony/ITelephony.aidl | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/telephony/java/com/android/internal/telephony/ITelephony.aidl b/telephony/java/com/android/internal/telephony/ITelephony.aidl index 73f38da..25fe97c 100644 --- a/telephony/java/com/android/internal/telephony/ITelephony.aidl +++ b/telephony/java/com/android/internal/telephony/ITelephony.aidl @@ -744,15 +744,16 @@ interface ITelephony { int checkCarrierPrivilegesForPackage(String pkgname); /** - * Returns the package name of the carrier apps that should handle the input intent. + * Returns list of the package names of the carrier apps that should handle the input intent + * and have carrier privileges for the given phoneId. * - * @param packageManager PackageManager for getting receivers. * @param intent Intent that will be sent. - * @return list of carrier app package names that can handle the intent. + * @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. * Returns null if there is an error and an empty list if there * are no matching packages. */ - List<String> getCarrierPackageNamesForIntent(in Intent intent); + List<String> getCarrierPackageNamesForIntentAndPhone(in Intent intent, int phoneId); /** * Set the line 1 phone number string and its alphatag for the current ICCID |