summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorBernardo Rufino <brufino@google.com>2020-01-29 15:45:38 +0000
committerBernardo Rufino <brufino@google.com>2020-01-29 15:45:38 +0000
commit3c584d624e659d5c1d471489e05f31f38df94691 (patch)
treeb86e043eace10e1cce1d88d2c0aab69193ace11f /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parentc847a7ad12eb36ecad53f2e0b78370b02ad6ad54 (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/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions