commit | 0ec069ac6baa6724c9c2e45ae72a13c01e862b43 | [log] [tgz] |
---|---|---|
author | Ruben Brunk <rubenbrunk@google.com> | Mon Jul 18 17:08:55 2016 -0700 |
committer | Ruben Brunk <rubenbrunk@google.com> | Mon Jul 18 17:08:55 2016 -0700 |
tree | 1821d14a1d01aa3e5b8a2ce3c5a104559845761c | |
parent | 699e1bc74bb00d81b9680c826828678847caf205 [diff] |
Return empty set instead of null when user is not set. - Avoid iterating over null set when checking components for user that isn't currently active. This can happen if the user is changed, and the enabled component set is queried before the set has been rebuilt to include components for the new current user. Bug: 30165350 Change-Id: I4dadad84e6bd2728bea5711b936cba91f6791c99