diff options
author | Robert Greenwalt <rgreenwalt@google.com> | 2015-12-04 11:51:49 -0800 |
---|---|---|
committer | The Android Automerger <android-build@google.com> | 2016-01-22 13:37:14 -0800 |
commit | 6a431eed218a65ead4e8e900368676dd9395b936 (patch) | |
tree | 054ffae8a24ecd4ca9978e845fdbf7146aaff81b /telephony/java/com | |
parent | 6a278db4c4a144829353e81420f28dcf2105f767 (diff) | |
download | frameworks_base-6a431eed218a65ead4e8e900368676dd9395b936.zip frameworks_base-6a431eed218a65ead4e8e900368676dd9395b936.tar.gz frameworks_base-6a431eed218a65ead4e8e900368676dd9395b936.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.aidl | 2 |
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. |