diff options
author | Josh Gao <jmgao@google.com> | 2018-08-01 16:00:05 -0700 |
---|---|---|
committer | Josh Gao <jmgao@google.com> | 2018-08-02 12:52:26 -0700 |
commit | 6fb946110312a47ea2b0f639d8b3e135a7481dca (patch) | |
tree | 26e4c251f27881ba4369b5cf22e97af26179f487 /libutils/Unicode.cpp | |
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
Diffstat (limited to 'libutils/Unicode.cpp')
0 files changed, 0 insertions, 0 deletions