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

Skip to content
Commit bdb6c422 authored by Shane's avatar Shane
Browse files

Call setFrameRate in TextureView to set frame rate properly.

Call setFrameRate in TextureView to set frame rate if one is provided.

Considering that TextureView could be invalidated with a lower
frequency comparing to the other Views. If no frame rate was set in the past 100 ms, the value of mPreferredFrameRate will be to 0 in ViewRootImpl. Otherwise, the value remains the same.

Bug: 281695725
Test: atest TextureViewTest & manual using a test app
Change-Id: Icbba5e3df8da5aa20808dd236eb93285eceddeb7
parent e475ab6a
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