commit | 700f51ee77640cfed227d1b6995c25cc5200f1d4 | [log] [tgz] |
---|---|---|
author | Linux Build Service Account <lnxbuild@localhost> | Sun Jan 16 16:16:18 2022 -0800 |
committer | Linux Build Service Account <lnxbuild@localhost> | Sun Jan 16 16:16:18 2022 -0800 |
tree | 421d67f1f4ca08006a5e10423f2a588a431be1ee | |
parent | 27439b64f8ee730c407507a7dd8456e2a49dda89 [diff] | |
parent | 447c2093870e678d0c85b285bea3a0623591b974 [diff] |
Merge 447c2093870e678d0c85b285bea3a0623591b974 on remote branch Change-Id: I1bd034f65b3f47da4f933b6885dca9b9ca0b1188
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 @@ * 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.