commit | 8f9f1d74a4933f100abe7f8d6601b2a1e2753f77 | [log] [tgz] |
---|---|---|
author | Josh Gao <jmgao@google.com> | Wed Aug 01 16:00:05 2018 -0700 |
committer | Josh Gao <jmgao@google.com> | Thu Aug 02 12:52:26 2018 -0700 |
tree | 26e4c251f27881ba4369b5cf22e97af26179f487 | |
parent | 81143ed24398e6d1f60d0998ec6f477ac76a7791 [diff] |
adbd: when rebooting, don't close socket before pausing. An accidental side-effect of the change to unique_fd was that we started closing the reboot service socket before pausing and waiting for our death. This results in the client immediately returning, which means they might get a chance to run other commands before we actually manage to reboot. Bug: http://b/112104037 Test: adb reboot; adb devices Change-Id: Id61321da0c08ebd1ab57f1ce926bafd9109dd9c2