PowerManagerService: update comment regarding reboot reason

Test: build
Bug: 122696730
Change-Id: I60fb6ac401a2ed2abb38ac2b7127e6fe851fdd3f
This commit is contained in:
Wei Wang
2019-02-07 14:10:23 -08:00
parent a9f577b5c6
commit 72b77cc19b

View File

@@ -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";