Clear calling identity in replaceContentOnDisplay
There's some code later on that will check if the call came from system. If it didn't, it can cause issues with creating a DC and possibly crash. Clear calling identity after doing the permission check. Test: CtsSurfaceControlTests Bug: 292293769 Change-Id: I6aa79f8e9eb2e2f6ea1420e09f69fa8ab9d837e4
Loading
Please register or sign in to comment