summaryrefslogtreecommitdiffstats
path: root/telephony/java/com
diff options
context:
space:
mode:
authorZach Johnson <zachoverflow@google.com>2015-05-19 00:02:27 -0700
committerZach Johnson <zachoverflow@google.com>2015-06-08 13:49:13 -0700
commitb4b9ca7580c75f07330e5222cbd9ccc93b12935e (patch)
tree99c18c384cf567d01d9771533608cee0c158a4d5 /telephony/java/com
parent7631697793a8b82bb2a1cd3adced1b140d266427 (diff)
downloadframeworks_base-b4b9ca7580c75f07330e5222cbd9ccc93b12935e.zip
frameworks_base-b4b9ca7580c75f07330e5222cbd9ccc93b12935e.tar.gz
frameworks_base-b4b9ca7580c75f07330e5222cbd9ccc93b12935e.tar.bz2
Ignore carrier apps when checking for idleness
Also introduce a way to check if a package has carrier privileges for any active phone. Change-Id: If5c5fe07f05ffc90fc21431eb27cf48030c0175b
Diffstat (limited to 'telephony/java/com')
-rw-r--r--telephony/java/com/android/internal/telephony/ITelephony.aidl9
1 files changed, 7 insertions, 2 deletions
diff --git a/telephony/java/com/android/internal/telephony/ITelephony.aidl b/telephony/java/com/android/internal/telephony/ITelephony.aidl
index 11d0ea6..6a9a2c1 100644
--- a/telephony/java/com/android/internal/telephony/ITelephony.aidl
+++ b/telephony/java/com/android/internal/telephony/ITelephony.aidl
@@ -739,9 +739,14 @@ interface ITelephony {
int getCarrierPrivilegeStatus();
/**
- * Similar to above, but check for pkg whose name is pkgname.
+ * Similar to above, but check for the package whose name is pkgName.
*/
- int checkCarrierPrivilegesForPackage(String pkgname);
+ int checkCarrierPrivilegesForPackage(String pkgName);
+
+ /**
+ * Similar to above, but check across all phones.
+ */
+ int checkCarrierPrivilegesForPackageAnyPhone(String pkgName);
/**
* Returns list of the package names of the carrier apps that should handle the input intent