diff options
author | Lucas Dupin <dupin@google.com> | 2018-09-20 16:10:07 -0700 |
---|---|---|
committer | Lucas Dupin <dupin@google.com> | 2018-11-12 19:38:41 +0000 |
commit | c5aaf45be4d8703ba7f14fa07fac63325ebd1831 (patch) | |
tree | 7f60acf02f86ba8ad0802e53abe0b929762d6087 /rs/java/android/renderscript/Program.java | |
parent | d5180a5ec2ca69d48c468be8b2bb35ded12c50f2 (diff) |
Restricting UiModeManager#setNightMode
Apps have been trying to set their night modes by calling this
function but they end up toggling the system-wide UiMode.
From now on, an error message will be logged if the app doesn't
hold the right permission.
Change-Id: Ie62c870b84190a62321a05a007cd2bf3dc9851f8
Fixes: 113605757
Test: manual. open app that tries to trigger night mode
Diffstat (limited to 'rs/java/android/renderscript/Program.java')
0 files changed, 0 insertions, 0 deletions