resolve merge conflicts of 9c017432d to master

Test: boot_reason_test.sh all
Bug: 63736262
Change-Id: I6a05d71b19f461870ea7fd1afc5db2e7c198bb05