diff options
author | 2023-05-26 03:15:45 +0000 | |
---|---|---|
committer | 2023-09-01 01:25:01 +0000 | |
commit | 27b5f63f10bbe3f46e24df07c6867e5fd09737b3 (patch) | |
tree | 5f5410cd3f8f49ebddc231827ea4feff7934f26a /libs/androidfw/BackupHelpers.cpp | |
parent | 395c0b37c925718b0a13a8ed292be1c2f3bc4dc1 (diff) |
Introduce ViewRootRefreshRateController
This controller used to handle request based on the
refresh rate preference for the current view root.
First apply lower display support refresh rate when
typing to improve the battery life and restore to
previous preferred rate after finish typing.
The controller only limit the max preferred refresh
rate so ideally it shouldn't introduce extra power
consumption.
Bug: 281720315
Test: atest FrameworksCoreTests:ViewRootRefreshRateControllerTest
Test: atest CtsInputMethodTestCases
Merged-In: I2fb9c549da19ff01e7cc3fd8bfc1f9c19aa0f0a8
Change-Id: Id40a97e737ee9eda0a9bcd019ce24631e9a339a8
Diffstat (limited to 'libs/androidfw/BackupHelpers.cpp')
0 files changed, 0 insertions, 0 deletions