commit | da537075677d85a6c3614020ee2fed893d191534 | [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 | d9322594fba265d211890ccb143a5730ddfc76ad | |
parent | d7bae8bccd3ec5846766af96d28eec7b050ae420 [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