commit | 23e78269a327a374b3ab44c57f8e62adadf469e0 | [log] [tgz] |
---|---|---|
author | Yu-Han Yang <yuhany@google.com> | Tue Jun 11 21:59:02 2024 +0000 |
committer | Yu-Han Yang <yuhany@google.com> | Tue Jun 11 23:40:30 2024 +0000 |
tree | 0e97b0dbc19bb029d48b22bcbe824965e993cf3f | |
parent | 29e5340a690c2c03ed9b9b76f3ce071a3a589f7e [diff] |
Fix flaky GNSS VTS In the original code, vector::erase() would invalidate iterators so we should move the thread object into the std::async() for the blocking operation. Bug: 344250967 Test: atest VtsHalGnssTargetTest Change-Id: I4cc82131bb070a37cb6ed9dbe9d7cccc7ab5ee89