commit | b175864bbf1d227566080be74aa4df74b1608731 | [log] [tgz] |
---|---|---|
author | Hai Zhang <zhanghai@google.com> | Mon Jan 14 17:43:04 2019 -0800 |
committer | Hai Zhang <zhanghai@google.com> | Mon Jan 14 17:43:04 2019 -0800 |
tree | c567da0bc2fae55c0ebc4f7c41a910438f604e78 | |
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