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

Commit 14a8feaa authored by Rupesh Bansal's avatar Rupesh Bansal
Browse files

Dont send RR events if not in foreground

Do not send refresh rate change callbacks to an app which is not in the
foreground. This will help in reducing the number of display change
callbacks.

Bug: 390107600
Test: Manually verified app in background is not getting any RR change callback
Test: atest DisplayManagerServiceTest
Flag: com.android.server.display.feature.flags.refresh_rate_event_for_foreground_apps
Change-Id: I5dba115a282e7d85f52a1b9870af058921ca44b4
parent 672207ab
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