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

Skip to content
Commit 03585acc authored by Sohail Nagaraj's avatar Sohail Nagaraj
Browse files

Add a conditional wait for file switching in MPEG4Writer.

If MPEG4Writer has notified approaching max file size limit to the app,
wait on a condition before throwing
MEDIA_RECORDER_INFO_MAX_FILESIZE_REACHED error.  The condition will wait
if the notification was sent and no new file is available yet. This is
to ensure that max filesize error is not thrown incorrectly when the app
has sent a new file but the handling of setNextFd is delayed.

Bug: 302064703
Test: atest CtsMediaRecorderTestCases

Change-Id: I9b7f024de2cac0f2cfd434c2382397a996c783ba
parent 206543e3
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