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:
parent
479ec9e172
commit
124c3cde03
4 changed files with 4 additions and 4 deletions
|
@ -1 +1 @@
|
||||||
38469e5a0359c95015bea304c463b686cf4ee9ca
|
8610b651e162c614a97542d6f4ed039c969823e5
|
||||||
|
|
|
@ -36,5 +36,5 @@ package android.hardware.automotive.vehicle;
|
||||||
enum VehicleApPowerStateConfigFlag {
|
enum VehicleApPowerStateConfigFlag {
|
||||||
ENABLE_DEEP_SLEEP_FLAG = 1,
|
ENABLE_DEEP_SLEEP_FLAG = 1,
|
||||||
CONFIG_SUPPORT_TIMER_POWER_ON_FLAG = 2,
|
CONFIG_SUPPORT_TIMER_POWER_ON_FLAG = 2,
|
||||||
ENABLE_HIBERNATION_FLAG = 3,
|
ENABLE_HIBERNATION_FLAG = 4,
|
||||||
}
|
}
|
||||||
|
|
|
@ -36,5 +36,5 @@ package android.hardware.automotive.vehicle;
|
||||||
enum VehicleApPowerStateConfigFlag {
|
enum VehicleApPowerStateConfigFlag {
|
||||||
ENABLE_DEEP_SLEEP_FLAG = 1,
|
ENABLE_DEEP_SLEEP_FLAG = 1,
|
||||||
CONFIG_SUPPORT_TIMER_POWER_ON_FLAG = 2,
|
CONFIG_SUPPORT_TIMER_POWER_ON_FLAG = 2,
|
||||||
ENABLE_HIBERNATION_FLAG = 3,
|
ENABLE_HIBERNATION_FLAG = 4,
|
||||||
}
|
}
|
||||||
|
|
|
@ -37,5 +37,5 @@ enum VehicleApPowerStateConfigFlag {
|
||||||
* (via VehicleApPowerStateShutdownParam#CAN_HIBERNATE or
|
* (via VehicleApPowerStateShutdownParam#CAN_HIBERNATE or
|
||||||
* VehicleApPowerStateShutdownParam#HIBERNATE_IMMEDIATELY flags)
|
* VehicleApPowerStateShutdownParam#HIBERNATE_IMMEDIATELY flags)
|
||||||
*/
|
*/
|
||||||
ENABLE_HIBERNATION_FLAG = 0x3,
|
ENABLE_HIBERNATION_FLAG = 0x4,
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue