diff options
author | Riddle Hsu <riddlehsu@google.com> | 2020-02-13 13:41:53 +0800 |
---|---|---|
committer | Riddle Hsu <riddlehsu@google.com> | 2020-02-13 14:30:24 +0800 |
commit | 1371c57f6f597b8d3aec922e2b46437a026c8d3d (patch) | |
tree | f2e89baf58efc9d1778092d252bcbda45f021638 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | ca8106f200e7d64103d7409a80a7d1a32c2bdf89 (diff) |
Ensure clearCallingIdentity for getDisplayContentOrCreate
If a new display is created, it may acquire wakelock for freezing
display when configuring the display. That may raise an exception
that the calling uid is not the same as the owner uid.
Fix: 147778342
Test: atest DisplayPolicyTests
Change-Id: Ib31c0d1f98964874a0ab97725d43f6bbd009062c
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions