summaryrefslogtreecommitdiff
path: root/libs/androidfw/ZipFileRO.cpp
diff options
context:
space:
mode:
author David Zhao <qingxun@google.com> 2023-04-24 15:58:52 -0700
committer David Zhao <qingxun@google.com> 2023-04-26 01:18:43 +0000
commitbdcd9257765ba26a09d23b7ceacd88e39571f9b3 (patch)
treefe703831aee4e735acfedefb2fe8fc12ab0a461c /libs/androidfw/ZipFileRO.cpp
parentfa88b4502d92563c0a1a5444c044ba9248ed4fb1 (diff)
Fix connection enumeration not accounting for discontinuous IDs
The data structure that contains mConnections is a sparse array. This means that you are allowed to insert devices with unique input IDs that are not continuous. However, when trying to perform the search for a specific input ID, the current logic assumes that the IDs are numerically continuous, causing issues (see ag/22753602). Bug: 278628657 Test: atest TvInputService Change-Id: I0311ac994feca73e4216744a49f1731c8e353ca1
Diffstat (limited to 'libs/androidfw/ZipFileRO.cpp')
0 files changed, 0 insertions, 0 deletions