diff options
author | Tyler Gunn <tgunn@google.com> | 2015-12-18 14:33:57 -0800 |
---|---|---|
committer | Tyler Gunn <tgunn@google.com> | 2015-12-18 14:33:57 -0800 |
commit | 014c711b0db81ce709b0ccad3e50b3d10227edd8 (patch) | |
tree | d45a522fafc9a5fc00c2350d306ebebb2e78ebf6 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 938562500707b461506191d1336f634037addd20 (diff) |
Fix capability/property checking methods to handle multi-bit capabilities.
Some capabilities, such as CAPABILITY_SUPPORTS_VT_LOCAL_BIDIRECTIONAL
are defined in terms of other capabilities; eg:
CAPABILITY_SUPPORTS_VT_LOCAL_RX | CAPABILITY_SUPPORTS_VT_LOCAL_TX
The current capability logic will return TRUE if checking for
CAPABILITY_SUPPORTS_VT_LOCAL_BIDIRECTIONAL and either of the TX or RX bits
is on; which is incorrect. Yay cts tests for finding this.
Bug: 26272951
Change-Id: I55a5676674ee74e213deb3a07e226b04a37d10ee
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions