summaryrefslogtreecommitdiff
path: root/libs/androidfw/FileStream.cpp
diff options
context:
space:
mode:
author Kensuke Miyagi <kemiyagi@google.com> 2023-09-12 15:55:59 -0700
committer Kensuke Miyagi <kemiyagi@google.com> 2023-09-18 11:14:32 -0700
commit251f22a33d48554cf11510b1027b7a590ce47a0b (patch)
treea76d27b6fa23277e3a171093de915af4483481dd /libs/androidfw/FileStream.cpp
parentd20d16da880d2354150c16846944f7c00e6f67a9 (diff)
Fix bug in DemuxResource allocation logic
The intended logic is to find demux resource for the requested capability that has the least number of capabilities. This CL fixes: - the issue where non-used resource won't be found if it has more number of capabilities than what is currently used - the issue where smallestNumOfSupportedCapsInUse was not reset when the lower priority resource is found Bug: 299858762 Test: atest TunerTest Change-Id: I5fd1c85046b2dbe0e2d2039a7b08a5fe214c4200
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions