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

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

Add setRequestedFrameRate and getRequestedFrameRate APIs to View

This CL add public APIs setRequestedFrameRate and getRequestedFrameRate
to View. setRequestedFrameRate allows developers to set a preferred
frame rate or preferred frame rate category to a View.

Developer can pass a positive integer to setRequestedFrameRate to set
preferred frame rate or pass a constant variable (e.g.,
REQUESTED_FRAME_RATE_CATEGORY_LOW or REQUESTED_FRAME_RATE_CATEGORY_HIGH)
toe set preferred frame rate category.

Bug: 278731444
Test: atest ViewRootImplTest / ViewTest
Change-Id: Ica0ab97e96bd104e73dfe95bbd4917bf24e8f7cb
parent e91c7507
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