summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorLee Shombert <shombert@google.com>2021-05-20 13:15:40 -0700
committerLee Shombert <shombert@google.com>2021-05-20 13:30:24 -0700
commitff9a01834e228249d39307c943b1f2e8b4b379a4 (patch)
tree579a9dba4876f02b1a85e484db193d90aaf82ea3 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parentf5098669d78516fd5ec9adfb1fb7dc7b2b2364bc (diff)
Test for null package in isEnabledAndMatches()
Bug: 188174037 Avoid an NPE is isEnabledAndMatches() by returning false if no package is found matching the component name. This does not address the more general problem uncovered by the bug, which is that a thread that has multiple calls into PM on the stack might end up executing with different snapshots. Test: atest * CtsContentTestCases Change-Id: Ib4e929a62edf3393e0177f5d85c9b3fe1e0697d8
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions