From 124c3cde03785d535f6c7fccbe67a72da24a4442 Mon Sep 17 00:00:00 2001 From: Maxim Pleshivenkov Date: Fri, 20 May 2022 17:49:31 +0000 Subject: [PATCH] Update flag value Set ENABLE_HIBERNATION_FLAG to a correct value. Flag is used as a bitmask, and should set single bit. Bug: 233373476 Change-Id: Ia60cdb3c9c344b3606ea07ed411ed6325a71c396 Test: atest CarServiceUnitTest --- .../aidl/aidl_api/android.hardware.automotive.vehicle/1/.hash | 2 +- .../automotive/vehicle/VehicleApPowerStateConfigFlag.aidl | 2 +- .../automotive/vehicle/VehicleApPowerStateConfigFlag.aidl | 2 +- .../automotive/vehicle/VehicleApPowerStateConfigFlag.aidl | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/automotive/vehicle/aidl/aidl_api/android.hardware.automotive.vehicle/1/.hash b/automotive/vehicle/aidl/aidl_api/android.hardware.automotive.vehicle/1/.hash index 7bb15e8f53..f4785043b5 100644 --- a/automotive/vehicle/aidl/aidl_api/android.hardware.automotive.vehicle/1/.hash +++ b/automotive/vehicle/aidl/aidl_api/android.hardware.automotive.vehicle/1/.hash @@ -1 +1 @@ -38469e5a0359c95015bea304c463b686cf4ee9ca +8610b651e162c614a97542d6f4ed039c969823e5 diff --git a/automotive/vehicle/aidl/aidl_api/android.hardware.automotive.vehicle/1/android/hardware/automotive/vehicle/VehicleApPowerStateConfigFlag.aidl b/automotive/vehicle/aidl/aidl_api/android.hardware.automotive.vehicle/1/android/hardware/automotive/vehicle/VehicleApPowerStateConfigFlag.aidl index 7e48eba788..d7b874a0be 100644 --- a/automotive/vehicle/aidl/aidl_api/android.hardware.automotive.vehicle/1/android/hardware/automotive/vehicle/VehicleApPowerStateConfigFlag.aidl +++ b/automotive/vehicle/aidl/aidl_api/android.hardware.automotive.vehicle/1/android/hardware/automotive/vehicle/VehicleApPowerStateConfigFlag.aidl @@ -36,5 +36,5 @@ package android.hardware.automotive.vehicle; enum VehicleApPowerStateConfigFlag { ENABLE_DEEP_SLEEP_FLAG = 1, CONFIG_SUPPORT_TIMER_POWER_ON_FLAG = 2, - ENABLE_HIBERNATION_FLAG = 3, + ENABLE_HIBERNATION_FLAG = 4, } diff --git a/automotive/vehicle/aidl/aidl_api/android.hardware.automotive.vehicle/current/android/hardware/automotive/vehicle/VehicleApPowerStateConfigFlag.aidl b/automotive/vehicle/aidl/aidl_api/android.hardware.automotive.vehicle/current/android/hardware/automotive/vehicle/VehicleApPowerStateConfigFlag.aidl index 7e48eba788..d7b874a0be 100644 --- a/automotive/vehicle/aidl/aidl_api/android.hardware.automotive.vehicle/current/android/hardware/automotive/vehicle/VehicleApPowerStateConfigFlag.aidl +++ b/automotive/vehicle/aidl/aidl_api/android.hardware.automotive.vehicle/current/android/hardware/automotive/vehicle/VehicleApPowerStateConfigFlag.aidl @@ -36,5 +36,5 @@ package android.hardware.automotive.vehicle; enum VehicleApPowerStateConfigFlag { ENABLE_DEEP_SLEEP_FLAG = 1, CONFIG_SUPPORT_TIMER_POWER_ON_FLAG = 2, - ENABLE_HIBERNATION_FLAG = 3, + ENABLE_HIBERNATION_FLAG = 4, } diff --git a/automotive/vehicle/aidl/android/hardware/automotive/vehicle/VehicleApPowerStateConfigFlag.aidl b/automotive/vehicle/aidl/android/hardware/automotive/vehicle/VehicleApPowerStateConfigFlag.aidl index 4d8e2f5045..8b0190cea4 100644 --- a/automotive/vehicle/aidl/android/hardware/automotive/vehicle/VehicleApPowerStateConfigFlag.aidl +++ b/automotive/vehicle/aidl/android/hardware/automotive/vehicle/VehicleApPowerStateConfigFlag.aidl @@ -37,5 +37,5 @@ enum VehicleApPowerStateConfigFlag { * (via VehicleApPowerStateShutdownParam#CAN_HIBERNATE or * VehicleApPowerStateShutdownParam#HIBERNATE_IMMEDIATELY flags) */ - ENABLE_HIBERNATION_FLAG = 0x3, + ENABLE_HIBERNATION_FLAG = 0x4, }