summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorRuben Brunk <rubenbrunk@google.com>2016-07-18 17:08:55 -0700
committerRuben Brunk <rubenbrunk@google.com>2016-07-18 17:08:55 -0700
commit0ec069ac6baa6724c9c2e45ae72a13c01e862b43 (patch)
tree1821d14a1d01aa3e5b8a2ce3c5a104559845761c /tools/aapt2/java/JavaClassGenerator.cpp
parent699e1bc74bb00d81b9680c826828678847caf205 (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
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions