commit | 73a5ee4df5628681899f0e2e81ff77d768599e4d | [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 | 1ac209cb5cbe6aa93cdee907616ff81a0160e522 | |
parent | 2deb787ee25f202f0a68d7cd7460f922d8cdbf9c [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