commit | 3c584d624e659d5c1d471489e05f31f38df94691 | [log] [tgz] |
---|---|---|
author | Bernardo Rufino <brufino@google.com> | Wed Jan 29 15:45:38 2020 +0000 |
committer | Bernardo Rufino <brufino@google.com> | Wed Jan 29 15:45:38 2020 +0000 |
tree | b86e043eace10e1cce1d88d2c0aab69193ace11f | |
parent | c847a7ad12eb36ecad53f2e0b78370b02ad6ad54 [diff] |
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