diff options
author | Patrick Baumann <patb@google.com> | 2020-04-24 08:34:52 -0700 |
---|---|---|
committer | Patrick Baumann <patb@google.com> | 2020-04-24 09:20:29 -0700 |
commit | 79d1db2838a3854887379fff558aa56d65eee3d4 (patch) | |
tree | b627d6545e3230780b0b4a27ef2d19df6329edca /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | 648c4f96bed012b45c52c14d57d4c1b7462bea70 (diff) |
Fixes shouldFilterApplication usages
This change addresses one misuse of shouldFilter* where the binary logic
was inverted. It also makes the response of getPackageEnabled* and
getComponentEnabled* consistent by always throwing if a packageName is
not known to the caller.
Fixes: 145676437
Test: atest AppEnumerationTests
Change-Id: Ieaaa894a05c00c3cb3b3b2ebdf64a6948b23b475
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions