summaryrefslogtreecommitdiff
path: root/telephony/java/com/android/internal/telephony/ITelephony.aidl
diff options
context:
space:
mode:
authorJack Nudelman <jacknudelman@google.com>2021-03-12 14:05:59 -0800
committerJack Nudelman <jacknudelman@google.com>2021-03-22 16:33:56 -0700
commita9636128545a1f74d0f2d7b04dcecf83cf29d1ad (patch)
tree34c2fc4518ec9e781c0321aae48b953507fc662a /telephony/java/com/android/internal/telephony/ITelephony.aidl
parentd880cf50a54acd6d9d7659db42195e563a4089ed (diff)
Require calling package to be allowlisted for thermal mitigation.
Test: make, manual verification Bug: 180015298 Change-Id: I1884facf5d37e4caa82697dab7e2a30d735f214e
Diffstat (limited to 'telephony/java/com/android/internal/telephony/ITelephony.aidl')
-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 45702c311ff3..c306c577a796 100644
--- a/telephony/java/com/android/internal/telephony/ITelephony.aidl
+++ b/telephony/java/com/android/internal/telephony/ITelephony.aidl
@@ -2231,10 +2231,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