diff options
author | Hai Zhang <zhanghai@google.com> | 2019-01-14 17:43:04 -0800 |
---|---|---|
committer | Hai Zhang <zhanghai@google.com> | 2019-01-14 17:43:04 -0800 |
commit | b175864bbf1d227566080be74aa4df74b1608731 (patch) | |
tree | c567da0bc2fae55c0ebc4f7c41a910438f604e78 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | 94ae766a983bdaf5f31493f7aa604b4735725830 (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