Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 251f22a3 authored by Kensuke Miyagi's avatar Kensuke Miyagi
Browse files

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
parent d20d16da
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment