summaryrefslogtreecommitdiff
path: root/build.py
diff options
context:
space:
mode:
author Jeremy Wu <jrwu@google.com> 2022-11-21 09:56:07 +0000
committer Jeremy Wu <jrwu@google.com> 2022-12-22 07:18:18 +0000
commitc87b6039f968cac852a7513462ffbd793db8526e (patch)
tree04ddc2ffffb684c7c0d1b77531c8f55f15d850aa /build.py
parentbfd5658d8156420b78e4fec9e58a8057c1102fff (diff)
Floss: force update |ConnectionHandler::feature_map_|
Absolute volume support relies on the result of |SdpLookup|, and is stored in |ConnectionHandler::feature_map_|. However, it is possible that the result is stored as "unsupported" in a bad connection that doesn't get cleaned up properly (e.g., due to missing "Connection Closed Event"), in which case the next connection will inherit that result even when its |SdpLookup| finds "supported", due to the use of |std::map::emplace|. In this CL, we force the updates so the states sync better, assuming there is no good reason to do such permissive update. Bug: 254313937 Test: Deploy and verify absolute volume is correctly propagated after a bad connection-disconnection Tag: #floss Change-Id: Ia634df6cd36dc17e0486391ff462d37bfc61ada6
Diffstat (limited to 'build.py')
0 files changed, 0 insertions, 0 deletions