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

Skip to content
Commit 2f4478e8 authored by Jan Sebechlebsky's avatar Jan Sebechlebsky
Browse files

Respect max fps if specified in the request.

Sleep for appropriate amount of time before acquiring new image
from Surface in case acquiring image imediatelly would exceed max fps
specified by the request.

This is relanding previously reverted change, which contained a bug
overriding the max fps to 1 in case it was explicitly set.

Bug: 338251124
Test: atest CtsVirtualDevicesCameraCtsTestCases
Change-Id: Iab6d951a296c1559658565b37f64516de4dd464b
parent 2c945eff
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