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

Commit 72b77cc1 authored by Wei Wang's avatar Wei Wang
Browse files

PowerManagerService: update comment regarding reboot reason

Test: build
Bug: 122696730
Change-Id: I60fb6ac401a2ed2abb38ac2b7127e6fe851fdd3f
parent a9f577b5
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -199,7 +199,8 @@ public final class PowerManagerService extends SystemService
    // System Property indicating that retail demo mode is currently enabled.
    private static final String SYSTEM_PROPERTY_RETAIL_DEMO_ENABLED = "sys.retaildemo.enabled";

    // Possible reasons for shutting down for use in data/misc/reboot/last_shutdown_reason
    // Possible reasons for shutting down or reboot for use in REBOOT_PROPERTY(sys.boot.reason)
    // which is set by bootstat
    private static final String REASON_SHUTDOWN = "shutdown";
    private static final String REASON_REBOOT = "reboot";
    private static final String REASON_USERREQUESTED = "shutdown,userrequested";