summaryrefslogtreecommitdiffstats
path: root/telephony
diff options
context:
space:
mode:
authorDiego Pontoriero <diegs@google.com>2014-08-28 11:49:44 -0700
committerDiego Pontoriero <diegs@google.com>2014-08-28 13:50:36 -0700
commit3892fc0349a91097f53152eaf2801dfebb2066ca (patch)
treeffbaddd7bb555d413ec65c4ca5a21fec5a14ecd0 /telephony
parent2ac81fbfaeec4dc0d5eda3df065f3baded9ab854 (diff)
downloadframeworks_base-3892fc0349a91097f53152eaf2801dfebb2066ca.zip
frameworks_base-3892fc0349a91097f53152eaf2801dfebb2066ca.tar.gz
frameworks_base-3892fc0349a91097f53152eaf2801dfebb2066ca.tar.bz2
Change TelephonyManager method name to accurately reflect functionality.
Bug: 17163860 Change-Id: I4390d79c49831454146a42b89520a16984c5f260
Diffstat (limited to 'telephony')
-rw-r--r--telephony/java/android/telephony/TelephonyManager.java8
-rw-r--r--telephony/java/com/android/internal/telephony/ITelephony.aidl4
2 files changed, 6 insertions, 6 deletions
diff --git a/telephony/java/android/telephony/TelephonyManager.java b/telephony/java/android/telephony/TelephonyManager.java
index 71b796a..cdee3de 100644
--- a/telephony/java/android/telephony/TelephonyManager.java
+++ b/telephony/java/android/telephony/TelephonyManager.java
@@ -3105,13 +3105,13 @@ public class TelephonyManager {
/** @hide */
@SystemApi
- public List<String> getCarrierPackageNamesForBroadcastIntent(Intent intent) {
+ public List<String> getCarrierPackageNamesForIntent(Intent intent) {
try {
- return getITelephony().getCarrierPackageNamesForBroadcastIntent(intent);
+ return getITelephony().getCarrierPackageNamesForIntent(intent);
} catch (RemoteException ex) {
- Rlog.e(TAG, "getCarrierPackageNamesForBroadcastIntent RemoteException", ex);
+ Rlog.e(TAG, "getCarrierPackageNamesForIntent RemoteException", ex);
} catch (NullPointerException ex) {
- Rlog.e(TAG, "getCarrierPackageNamesForBroadcastIntent NPE", ex);
+ Rlog.e(TAG, "getCarrierPackageNamesForIntent NPE", ex);
}
return null;
}
diff --git a/telephony/java/com/android/internal/telephony/ITelephony.aidl b/telephony/java/com/android/internal/telephony/ITelephony.aidl
index b1c3c4a..5c3dcdb 100644
--- a/telephony/java/com/android/internal/telephony/ITelephony.aidl
+++ b/telephony/java/com/android/internal/telephony/ITelephony.aidl
@@ -710,12 +710,12 @@ interface ITelephony {
* 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 broadcast.
+ * @param intent Intent that will be sent.
* @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> getCarrierPackageNamesForBroadcastIntent(in Intent intent);
+ List<String> getCarrierPackageNamesForIntent(in Intent intent);
/**
* Set whether Android should display a simplified Mobile Network Settings UI.