summaryrefslogtreecommitdiff
path: root/libutils/Unicode_test.cpp
diff options
context:
space:
mode:
authorWei Wang <wvw@google.com>2019-02-07 10:05:42 -0800
committerWei Wang <wvw@google.com>2019-02-08 02:55:06 +0000
commitb02b780d7f130f67c1f3f53ea30d49bd90fa49c6 (patch)
tree968a5751d41600f0792fac38ac4626c156a7c8ca /libutils/Unicode_test.cpp
parent4fa75f87ce51af24a9cce65225e3708e9d337c8f (diff)
bootstat: Update boot reason property earlier
bootstat updates boot reason upon boot_complete, however users of the updated properties e.g. getLastShutdownReason from PowerManager could be called before boot_complete. This introduces a inconsistency and racing for those APIs. In this CL, we change boot reason to be updated at the same time when zygote starts where persist properties have been loaded already. Also the initialization of bootloader's boot reason is pulled into post-fs where all kernel command line arguments have been parsed in init already. Bug: 122696730 Bug: 119509425 Test: trigger thermal shutdown and see warnings Test: verify boot reason properties updated correctly post boot Change-Id: Ia393b98ea072bc0ae6e4110d111393b34be0ee5d Signed-off-by: Wei Wang <wvw@google.com>
Diffstat (limited to 'libutils/Unicode_test.cpp')
0 files changed, 0 insertions, 0 deletions