diff options
| author | 2023-11-22 12:08:11 -0800 | |
|---|---|---|
| committer | 2023-12-02 00:24:42 +0000 | |
| commit | c3aeb052e24e7d27169b5bf6af7fe6fc48e22702 (patch) | |
| tree | 9265ce169d2f1684edd47d8057c9cbe65d73b778 /libs/androidfw/FileStream.cpp | |
| parent | a16cb4676742fe6782228b7c2bbd77e8c5f6ddd7 (diff) | |
fix(force invert): listen for changes to force invert setting
Ensure that the app reacts when the user changes the force invert
preference in Settings.
Bug: 312289375
Test: manual:
1. Open Settings or some other app in light mode.
1. adb shell device_config set_sync_disabled_for_tests persistent && adb shell device_config put accessibility android.view.accessibility.force_invert_color true && adb shell settings put secure accessibility_force_invert_color_enabled 1
2. Color of the current app should change to be dark
Flag: android.view.accessibility.Flags.forceInvertColor
Change-Id: I39a78d640fe939a110d703343865fe8a88fad020
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions