diff options
| author | 2023-02-22 14:40:06 +0000 | |
|---|---|---|
| committer | 2023-03-02 13:11:40 +0000 | |
| commit | cbbc772a41d20645ae434d74c482f3f4ad377e2c (patch) | |
| tree | 77c1a1ab66264e455e85983b06b4a6b8856c8c39 /libs/androidfw/StringPool.cpp | |
| parent | c7575771bdf40bc9c90697b7ee18beea69923685 (diff) | |
Add the contrast API to UiModeManager
Part of the move of the API from AccessibilityManager to UiModeManager.
The logic remains unchained. a new AIDL, IUiModeManagerCallback, was
created to let the service notify all UiModeManagers about contrast
changes, similarly to what was done in AccessibilityManager
Constants (min, max, default contrast) have been moved to a new static
class "ContrastUtils" inside "UiModeManager".
To avoid creating too many CLs, a few new hidden constants/utils have
been added to "ContrastUtils", even though this is not part of the move.
Test: atest UiModeManagerTest
Bug: 259091608
Change-Id: I0c1cf5accc8b301ea90b81cdc20d5262eef04a8b
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions