summaryrefslogtreecommitdiff
path: root/telephony/java/com/android
diff options
context:
space:
mode:
authorJack Nudelman <jacknudelman@google.com>2021-03-23 14:10:49 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2021-03-23 14:10:49 +0000
commit74230cc4a0530bb6ed39d9884f66d1193bf21139 (patch)
treed1e457ee6b473c4aa49d828968cea5ce6cc4c42d /telephony/java/com/android
parente380ff110a5ed1415fe20c286130b901ab5f6918 (diff)
parent6176649cce6d11ac9dd8ef7e5e9f21d956f7b4b5 (diff)
Merge "Require calling package to be allowlisted for thermal mitigation." am: fdad0e26a7 am: d3b14cf1fe am: 6176649cce
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1634481 Change-Id: I6a3a3d4ebd19e8a2de8fcd3ed054600210e1aa31
Diffstat (limited to 'telephony/java/com/android')
-rw-r--r--telephony/java/com/android/internal/telephony/ITelephony.aidl4
1 files changed, 3 insertions, 1 deletions
diff --git a/telephony/java/com/android/internal/telephony/ITelephony.aidl b/telephony/java/com/android/internal/telephony/ITelephony.aidl
index 8ed9cffbe147..6184ffe02083 100644
--- a/telephony/java/com/android/internal/telephony/ITelephony.aidl
+++ b/telephony/java/com/android/internal/telephony/ITelephony.aidl
@@ -2250,10 +2250,12 @@ interface ITelephony {
*
* @param subId the id of the subscription
* @param thermalMitigationRequest holds the parameters necessary for the request.
+ * @param callingPackage the package name of the calling package.
* @throws InvalidThermalMitigationRequestException if the parametes are invalid.
*/
int sendThermalMitigationRequest(int subId,
- in ThermalMitigationRequest thermalMitigationRequest);
+ in ThermalMitigationRequest thermalMitigationRequest,
+ String callingPackage);
/**
* get the Generic Bootstrapping Architecture authentication keys