Merge "PowerManagerService: update comment regarding reboot reason"

This commit is contained in:
Wei Wang
2019-02-08 17:03:56 +00:00
committed by Android (Google) Code Review

View File

@@ -197,7 +197,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";