summaryrefslogtreecommitdiff
path: root/telephony/java/com/android/internal
diff options
context:
space:
mode:
authorJack Nudelman <jacknudelman@google.com>2021-03-23 13:29:37 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2021-03-23 13:29:37 +0000
commit6176649cce6d11ac9dd8ef7e5e9f21d956f7b4b5 (patch)
treead3d0e330f24a525f2071e5e318c153877c10107 /telephony/java/com/android/internal
parentcf8c92b0d7b4aa3c496c3426de19070844ab79c5 (diff)
parentd3b14cf1fefba600875885b2a829a519d27818a0 (diff)
Merge "Require calling package to be allowlisted for thermal mitigation." am: fdad0e26a7 am: d3b14cf1fe
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1634481 Change-Id: I11c8750cc9c8cb4c13370f0b30ed087c84629fa5
Diffstat (limited to 'telephony/java/com/android/internal')
-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 97f8f127171d..e78c5ab15143 100644
--- a/telephony/java/com/android/internal/telephony/ITelephony.aidl
+++ b/telephony/java/com/android/internal/telephony/ITelephony.aidl
@@ -2236,10 +2236,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