summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorHai Zhang <zhanghai@google.com>2019-01-14 17:43:04 -0800
committerHai Zhang <zhanghai@google.com>2019-01-14 17:43:04 -0800
commitb175864bbf1d227566080be74aa4df74b1608731 (patch)
treec567da0bc2fae55c0ebc4f7c41a910438f604e78 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent94ae766a983bdaf5f31493f7aa604b4735725830 (diff)
Return null when getting role holders of an unknown role.
Previously the code was accidentally relying on ArraySet constructor accepting a null argument when the role is not found, so make it return null in this case to match both the javadoc and what we intended. Bug: 110557011 Test: build Change-Id: Ifef270a84854c105d9627ee15e96a649dfac0abf
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions