Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b8efced1 authored by Maxim Pleshivenkov's avatar Maxim Pleshivenkov
Browse files

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
parent bbc84dd8
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -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,