OSDN Git Service

BootReceiver: Report correct headers for last messages
authorPatrick Tjin <pattjin@google.com>
Fri, 12 Aug 2016 22:52:56 +0000 (15:52 -0700)
committerPatrick Tjin <pattjin@google.com>
Tue, 23 Aug 2016 21:07:10 +0000 (14:07 -0700)
commit60c17395a6ec13bf116528206ac9ad01cc89a149
treeb4405669fceec00888501e40ccfc128b441f13a4
parentf9f8e8204504307ee7e7f2a372c58a44043893b3
BootReceiver: Report correct headers for last messages

BootReceiver was using current build information when reporting
various versions. This was causing A/B devices to report the
wrong build information when reporting crashes since rebooting
a A/B device with a pending OTA would automatically apply the
OTA. (the problem was not seen on devices without A/B due to
booting through recovery to apply the OTA)

Bug: 30594862
Change-Id: I6f52081142e338c822c9135cba48a1f88f4d4bdb
core/java/com/android/server/BootReceiver.java