summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorLucas Dupin <dupin@google.com>2021-11-05 17:30:49 -0700
committerLucas Dupin <dupin@google.com>2021-11-11 17:53:06 +0000
commit6fd464985a0f53025976f78f3e7a684fe95c8fd1 (patch)
treea88d178c78bbb2f49b6a9e4d21b74652cf26862a /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent3379ab4158706d0863181f8930c66e7ad2de0172 (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 Merged-In: I2086b29ef9bf3bb6fb7d9ebba6e7b8db9392e459
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions