summaryrefslogtreecommitdiff
path: root/libs/input/SpriteController.cpp
diff options
context:
space:
mode:
author Tyler Freeman <fuego@google.com> 2023-08-15 13:43:35 +0000
committer Tyler Freeman <fuego@google.com> 2023-08-25 19:05:49 +0000
commit1a286c061b03e656fac0778f49a165b257a819f8 (patch)
tree8c6579cd68dd04c7fa2194df41d60e57a5161074 /libs/input/SpriteController.cpp
parentdd09f8e1b1662872fd7039a422cfc23e8759a02b (diff)
feat(force invert): force force-dark if force invert is enabled
Force invert always forces apps dark, even if the developer has used one of the opt-out APIs. It also ignores the dark theme setting, since that can be overridden by the app. Bug: 282821643 Test: atest ViewRootImplTest Test: manual: 1. `setprop debug.hwui.force_dark 1 && cmd uimode night yes"` 2. Most apps will be dark, except ones that opt-out (e.g. Twitter). 3. `setprop debug.hwui.force_dark 0 && settings put secure accessibility_force_invert_enabled 1` 4. All apps will be dark, regardless if they opt-out (e.g. Twitter). Change-Id: I61bc6cc5d526324d2d63314bc2ee75160b5326d7
Diffstat (limited to 'libs/input/SpriteController.cpp')
0 files changed, 0 insertions, 0 deletions