diff options
author | Bernardo Rufino <brufino@google.com> | 2020-01-29 15:45:38 +0000 |
---|---|---|
committer | Bernardo Rufino <brufino@google.com> | 2020-01-29 15:45:38 +0000 |
commit | 3c584d624e659d5c1d471489e05f31f38df94691 (patch) | |
tree | b86e043eace10e1cce1d88d2c0aab69193ace11f /rs/java/android/renderscript/ProgramVertexFixedFunction.java | |
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
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions