commit | 447c2093870e678d0c85b285bea3a0623591b974 | [log] [tgz] |
---|---|---|
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Thu Dec 23 08:27:30 2021 +0000 |
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Thu Dec 23 08:27:30 2021 +0000 |
tree | 421d67f1f4ca08006a5e10423f2a588a431be1ee | |
parent | 859f497cb8cffec473707be1cbfb1fc51dc2325e [diff] | |
parent | 235b95eda0adca39cda8045d61f6bb7d2d52d1de [diff] |
Snap for 8024443 from 235b95eda0adca39cda8045d61f6bb7d2d52d1de to s-keystone-qcom-release Change-Id: I9562e40dacce1a560943e6faf8612f29f111e17d
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.