summaryrefslogtreecommitdiff
path: root/libs/input/SpriteController.cpp
diff options
context:
space:
mode:
author Lucas Dupin <dupin@google.com> 2021-11-05 17:30:49 -0700
committer Lucas Dupin <dupin@google.com> 2021-11-11 00:12:24 +0000
commit04d4c04019652593fbc13eda569dce8200792942 (patch)
treeaed11747d495251df71d0e8f5be0782a01c8ae79 /libs/input/SpriteController.cpp
parent945ca2199f6c97d08c0a1253105bf715bd5dec62 (diff)
Don't allow background apps to change theme
A background app that changes the wallpaper, was able to change the device theme. This change will apply the theme if the app is on the foreground, like WallpaperPicker would be, but would defer the event until the next power button cycles, like we do with Live Wallpapers, to avoid the same type of DoS. Test: manual Test: atest ThemeOverlayControllerTest Fixes: 205140487 Change-Id: I2086b29ef9bf3bb6fb7d9ebba6e7b8db9392e459
Diffstat (limited to 'libs/input/SpriteController.cpp')
0 files changed, 0 insertions, 0 deletions