summaryrefslogtreecommitdiffstats
path: root/telephony/java/com
diff options
context:
space:
mode:
authorRobert Greenwalt <rgreenwalt@google.com>2015-12-04 11:51:49 -0800
committerRobert Greenwalt <rgreenwalt@google.com>2015-12-07 12:38:48 -0800
commitd8231b9f37b8a4b9eb160c7e8aae0105c978fc11 (patch)
tree3267331444bb898fa20472efaa9f53e02ade379c /telephony/java/com
parentadd4b91d41d3ba810b6b25c14d7c13050394f201 (diff)
downloadframeworks_base-d8231b9f37b8a4b9eb160c7e8aae0105c978fc11.zip
frameworks_base-d8231b9f37b8a4b9eb160c7e8aae0105c978fc11.tar.gz
frameworks_base-d8231b9f37b8a4b9eb160c7e8aae0105c978fc11.tar.bz2
Check permissions on getDeviceId.
This needs the package name passed in, so the aidl changes. bug:25778215 Change-Id: I72f3456a2774a7ad5104424daea9e046ee9c6360
Diffstat (limited to 'telephony/java/com')
-rw-r--r--telephony/java/com/android/internal/telephony/IPhoneSubInfo.aidl2
1 files changed, 1 insertions, 1 deletions
diff --git a/telephony/java/com/android/internal/telephony/IPhoneSubInfo.aidl b/telephony/java/com/android/internal/telephony/IPhoneSubInfo.aidl
index ed85392..dc2b297 100644
--- a/telephony/java/com/android/internal/telephony/IPhoneSubInfo.aidl
+++ b/telephony/java/com/android/internal/telephony/IPhoneSubInfo.aidl
@@ -36,7 +36,7 @@ interface IPhoneSubInfo {
* Retrieves the unique device ID of a phone for the device, e.g., IMEI
* for GSM phones.
*/
- String getDeviceIdForPhone(int phoneId);
+ String getDeviceIdForPhone(int phoneId, String callingPackage);
/**
* Retrieves the IMEI.