Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 3c584d62 authored by Bernardo Rufino's avatar Bernardo Rufino
Browse files

Surround platform-compat check with Binder.clearCallingIdentity()

Otherwise it fails permission check since it would use the caller's uid.

Bug: 148521528
Test: Post a background custom toast and observe it either posts the
      toast or shows a textual warning toast (before this change,
      neither would happen and we'd see a SE in logcat).

Change-Id: I338846bda08b8a002440dd3b1a43393f2ff25011
parent c847a7ad
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