commit | c5aaf45be4d8703ba7f14fa07fac63325ebd1831 | [log] [tgz] |
---|---|---|
author | Lucas Dupin <dupin@google.com> | Thu Sep 20 16:10:07 2018 -0700 |
committer | Lucas Dupin <dupin@google.com> | Mon Nov 12 19:38:41 2018 +0000 |
tree | 7f60acf02f86ba8ad0802e53abe0b929762d6087 | |
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