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

Skip to content
Commit f107f2cf authored by Dhananjay Kumar's avatar Dhananjay Kumar Committed by Linux Build Service Account
Browse files

IMediaSource: add check before calling readMultiple

IMediaSource::readMultiple() fails when called for large
buffers which cannot be handled inline over binder's
reply data.
Add canReadMultiple() call to get value from native
implementation where Source can check buffer size and
decide if readMultiple is required to improve read latency.

CRs-Fixed: 1029437
Change-Id: If1f77898809c7ecc1ff07b37da1faa74b1c51c64
parent 68130d84
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