diff options
author | Mark Salyzyn <salyzyn@google.com> | 2017-08-15 07:53:47 -0700 |
---|---|---|
committer | Mark Salyzyn <salyzyn@google.com> | 2017-08-22 13:29:27 -0700 |
commit | e65c0c61b771f05e9712cbd546f675aa7c380265 (patch) | |
tree | 96bb8d38ba4463d8259910532e175edeee232bed /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | b056324630b8adfeb38393bcab49f3b9c720f4fd (diff) |
Switch /data/misc/reboot/last_reboot_reason to persistent property
Switch from /data/misc/reboot/last_reboot_reason to persistent
Android property persist.sys.boot.reason for indicating why the
device is rebooted or shutdown.
persist.sys.boot.reason has a standard as outlined in b/63736262 and
the associated investigation. Made adjustments to the values so that
we did not create a problem even before we started. Compliance is
part of the tests in boot_reason_test.sh.
Test: system/core/bootstat/boot_reason_test.sh
Bug: 64687998
Change-Id: Iba69acf2105f4446411d86cdb8097a1755a20f15
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions