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
Loading
Please register or sign in to comment