commit | 6fb946110312a47ea2b0f639d8b3e135a7481dca | [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 | ddcee93c0138fc68dbc6320962a53cd4761ab94b [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