commit | 1922ad0dd416d06469f52548d9c51144c4a1ea39 | [log] [tgz] |
---|---|---|
author | Joshua Duong <joshuaduong@google.com> | Mon Jun 29 16:27:03 2020 -0700 |
committer | Joshua Duong <joshuaduong@google.com> | Wed Jul 01 15:06:33 2020 -0700 |
tree | b315cff28d1d1e3d63e08fb74e92d5f1ecc92d2c | |
parent | 14260d23145e7e13f71cbffcd29b5c6a415215f0 [diff] |
[adb] Fix crash in mdns service removal. If std::remove_if is a no-op (no service name match), then std::vector::erase would crash. Bug: 160025305 Test: test_adb.py Test: Manual. 1) Enable wireless debugging on multiple devices 2) Disable wireless debugging on all devices Change-Id: If58b0dda0bb698fd3fd225d9b6a6726a88ae47e0