Skip to content
Commit 1371c57f authored by Riddle Hsu's avatar Riddle Hsu
Browse files

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
parent ca8106f2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment