summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Jeong <ericjeong@google.com>2021-10-14 18:29:08 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2021-10-14 18:29:08 +0000
commitbcd13639d10fa6bf632c00656e18f043864ec623 (patch)
tree421d67f1f4ca08006a5e10423f2a588a431be1ee
parent73c01fed04b08751f89bdc4fe467251c7e06b45b (diff)
parent514ef810c36471645a76cc2bba670029ae767cf9 (diff)
downloadinterfaces-bcd13639d10fa6bf632c00656e18f043864ec623.tar.gz
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/hardware/interfaces/+/16041721 Change-Id: If2d01b7e7cb6d4ff09c09d62c4b9d315c1595326
-rw-r--r--automotive/powerpolicy/aidl/android/frameworks/automotive/powerpolicy/internal/ICarPowerPolicySystemNotification.aidl4
1 files changed, 3 insertions, 1 deletions
diff --git a/automotive/powerpolicy/aidl/android/frameworks/automotive/powerpolicy/internal/ICarPowerPolicySystemNotification.aidl b/automotive/powerpolicy/aidl/android/frameworks/automotive/powerpolicy/internal/ICarPowerPolicySystemNotification.aidl
index 08078f0..61f88b4 100644
--- a/automotive/powerpolicy/aidl/android/frameworks/automotive/powerpolicy/internal/ICarPowerPolicySystemNotification.aidl
+++ b/automotive/powerpolicy/aidl/android/frameworks/automotive/powerpolicy/internal/ICarPowerPolicySystemNotification.aidl
@@ -47,10 +47,12 @@ interface ICarPowerPolicySystemNotification {
* System private API for CarService.
*
* @param policyId The current policy ID.
+ * @param force If {@code true}, the given policy is applied even when the current policy
+ * is a system power policy.
* @throws IllegalStateException if it fails to notify power policy change.
* @throws SecurityException if the caller doesn't have sufficient permissions.
*/
- void notifyPowerPolicyChange(in @utf8InCpp String policyId);
+ void notifyPowerPolicyChange(in @utf8InCpp String policyId, boolean force);
/**
* CarService uses this method to tell that there is a newly defined power policy.