commit | 4c28dde8bcb31e4a6d7b0af83b3435ccf20bb224 | [log] [tgz] |
---|---|---|
author | Josh Gao <jmgao@google.com> | Wed Jul 25 16:51:59 2018 -0700 |
committer | Josh Gao <jmgao@google.com> | Wed Jul 25 18:08:45 2018 -0700 |
tree | eecb6f0efd48b498019f20d0963c473bbc0630f2 | |
parent | 977e526e8e41dc5050e1c6e01b60b4029c0e97a0 [diff] |
adb: use adb's unique_fd instead of android::base. Replace all usages of android::base::unique_fd with the unique_fd from adb_unique_fd.h, which calls adb_close instead of close on Windows. Most of these changes are no-ops, except for the ones to create_service_thread, which was probably pretty broken on Windows. Test: python test_device.py Test: adb_test Test: wine adb_test.exe Change-Id: Ia4d03f9e2e7ddc88c97dc64172d721f93f3bf853