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
This commit is contained in:
Maxim Pleshivenkov 2022-05-20 17:49:31 +00:00
parent 479ec9e172
commit 124c3cde03
4 changed files with 4 additions and 4 deletions

View file

@ -1 +1 @@
38469e5a0359c95015bea304c463b686cf4ee9ca
8610b651e162c614a97542d6f4ed039c969823e5

View file

@ -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,
}

View file

@ -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,
}

View file

@ -37,5 +37,5 @@ enum VehicleApPowerStateConfigFlag {
* (via VehicleApPowerStateShutdownParam#CAN_HIBERNATE or
* VehicleApPowerStateShutdownParam#HIBERNATE_IMMEDIATELY flags)
*/
ENABLE_HIBERNATION_FLAG = 0x3,
ENABLE_HIBERNATION_FLAG = 0x4,
}