summaryrefslogtreecommitdiff
path: root/api/api_test.go
diff options
context:
space:
mode:
author Rupesh Bansal <brup@google.com> 2025-01-14 20:17:28 +0000
committer Rupesh Bansal <brup@google.com> 2025-01-17 12:39:24 +0000
commit14a8feaafa58aa1b72140c6efa74609235a28ed2 (patch)
tree7d069a8974946eb339415451f2efc46aec7e58c0 /api/api_test.go
parent672207abab4be2135a2da25e93f8e040e8d80e4f (diff)
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
Diffstat (limited to 'api/api_test.go')
0 files changed, 0 insertions, 0 deletions