summaryrefslogtreecommitdiff
path: root/graphics/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorBernardo Rufino <brufino@google.com>2021-04-08 14:51:36 +0100
committerBernardo Rufino <brufino@google.com>2021-04-08 15:01:57 +0100
commitd979e1d76fa00d6eccb2d254fea7b258867fb4b2 (patch)
tree5b652190bfb863b6b756f78ed420cff1da9e83e1 /graphics/java/android/renderscript/ProgramFragmentFixedFunction.java
parent19a613c3da75c7a87bfa221d78e6e3b3dce287b1 (diff)
Handle PendingIntents for ACSD
Finsky for some reason sends Intent.ACSD in notification trampolines by calling PendingIntent.getBroadcast(...).send() instead of Context.sendBroadcast(). The problem is that because it's using a PI, the callingPid is righfully -1 (since the process could have been killed or even restarted w/ a different pid by the time the PI is fired), so we don't allow by the trampoline exemption for Intent.ACSD for targetSdk < S. In order to support that use-case, we need to look up the current processes for the given UID, which removes the need to receive a WindowProcessController altogether. Bug: 183274733 Test: atest -d CtsAppTestCases:android.app.cts.CloseSystemDialogsTest Change-Id: I0c1f21a21f1dac311cea5f6276c84e590b2cc0ef
Diffstat (limited to 'graphics/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions