diff options
author | wilsonshih <wilsonshih@google.com> | 2021-05-25 16:31:45 +0800 |
---|---|---|
committer | wilsonshih <wilsonshih@google.com> | 2021-05-25 19:09:58 +0800 |
commit | d22e8b14034c27ea45962b01a6dc31edafac6763 (patch) | |
tree | 977c86a7afcc006b38b2e5bad0e7b035489cbec5 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
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
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions