commit | 6098965880d4a1b245209e138a3cf65148c7e42d | [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 | e02ccc10d180f08e3fb4fa08f803e73ec7f3a36e | |
parent | b7011367ba36543b9c04ef2d54646d579508d94d [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