commit | d22e8b14034c27ea45962b01a6dc31edafac6763 | [log] [tgz] |
---|---|---|
author | wilsonshih <wilsonshih@google.com> | Tue May 25 16:31:45 2021 +0800 |
committer | wilsonshih <wilsonshih@google.com> | Tue May 25 19:09:58 2021 +0800 |
tree | 977c86a7afcc006b38b2e5bad0e7b035489cbec5 | |
parent | 127ea4faf647dc24b09e8241118422f63463ee81 [diff] |
Fix setApplicationNightMode crash due to permission denial. Test activity crash when calling UiModeManager#setApplicationNightMode. There should call clearCallingIdentity before updating configuration in system server. Also clear some code around those methods. Fixes: 189166288 Test: atest SplashscreenTests#testSetApplicationNightMode Change-Id: I163919927030f81739aa3d9520e2012a92028793