summaryrefslogtreecommitdiff
path: root/tools/obbtool/Main.cpp
diff options
context:
space:
mode:
author Mateus Azis <azis@google.com> 2023-08-16 09:31:20 -0700
committer Mateus Azis <azis@google.com> 2023-08-16 09:31:20 -0700
commitddcbe639fe1c0f8c5d815db643eea19f59051638 (patch)
treee050de438c94e64da12658b9a9c3fc97284032b7 /tools/obbtool/Main.cpp
parentd8ac0c199c10a45abf5a258c8841b03ca6cc29a3 (diff)
Avoid duplicate map lookups in RemoteConnectionManager.
Use Map.computeIfAbsent or the result of get() calls to interact with the map via a single access, avoiding duplicate lookups. Test: atest cts/tests/tests/telecom/src/android/telecom/cts/RemoteConnectionTest.java Bug: 274764512 Change-Id: I1e6b10381f0c9b408c4a734384e550dfaefc1f40
Diffstat (limited to 'tools/obbtool/Main.cpp')
0 files changed, 0 insertions, 0 deletions