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

Commit 65c06123 authored by Venkatarama Avadhani's avatar Venkatarama Avadhani
Browse files

Fix MediaCas claimResource logic

When a resource is claimed by a resource challenger, and there is only 1
resource available, the check in claimResource that the CAS is fully
used is incorrect. The challenger "challenges" for a resource from the
CAS only if the CAS was fully used and if the challenger wins, then the
CAS will continue to be fully used. Removing this check.

Bug: 381864924
Flag: EXEMPT bugfix
Test: atest android.media.misc.cts.MediaCasTest
Change-Id: I51cd5c2f8f939ffdb504b9043a22bc06c07985cc
parent e67b918e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment