From b8efced1a8e5daf9de45408d2b35e436309750d1 Mon Sep 17 00:00:00 2001 From: Maxim Pleshivenkov Date: Thu, 11 Jan 2024 19:08:30 +0000 Subject: [PATCH] Update comments for VehicleApPowerStateShutdownParam Comments for _IMMEDIATELY parameters stated that shutdown cannot be postponed. However it is possible that CPMS will send SHUTDOWN_POSTPONE if SHUTDOWN_PREPARE takes longer. Updated comments to remove that statement. Bug: 319670846 Change-Id: I0d172ba5d24b86c7f2403acae05961eca72b0c2d Test: manual build --- .../automotive/vehicle/VehicleApPowerStateShutdownParam.aidl | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/automotive/vehicle/aidl_property/android/hardware/automotive/vehicle/VehicleApPowerStateShutdownParam.aidl b/automotive/vehicle/aidl_property/android/hardware/automotive/vehicle/VehicleApPowerStateShutdownParam.aidl index 966ff65d88..538b905671 100644 --- a/automotive/vehicle/aidl_property/android/hardware/automotive/vehicle/VehicleApPowerStateShutdownParam.aidl +++ b/automotive/vehicle/aidl_property/android/hardware/automotive/vehicle/VehicleApPowerStateShutdownParam.aidl @@ -20,7 +20,7 @@ package android.hardware.automotive.vehicle; @Backing(type="int") enum VehicleApPowerStateShutdownParam { /** - * AP must shutdown without Garage mode. Postponing is not allowed. + * AP must shutdown without Garage mode. * If AP need to shutdown as soon as possible, EMERGENCY_SHUTDOWN shall be used. */ SHUTDOWN_IMMEDIATELY = 1, @@ -36,13 +36,11 @@ enum VehicleApPowerStateShutdownParam { SHUTDOWN_ONLY = 3, /** * AP can enter deep sleep, without Garage mode. - * Postponing is not allowed. * Depending on the actual implementation, it may shut down immediately */ SLEEP_IMMEDIATELY = 4, /** * AP can hibernate (suspend to disk) without Garage mode. - * Postponing is not allowed. * Depending on the actual implementation, it may shut down immediately. */ HIBERNATE_IMMEDIATELY = 5,