diff options
| author | 2019-08-30 07:45:34 -0700 | |
|---|---|---|
| committer | 2019-08-30 07:45:34 -0700 | |
| commit | 55be4efaae2da1120a15b80f53a7276ed4a71836 (patch) | |
| tree | 474ac66a7cea7c7e493041818177e01ba641b98d | |
| parent | ac2039a942a91d187972460eabc3bd353ae5dc14 (diff) | |
| parent | 4559d836552e973076c0bf25fee603fdcd3da3b0 (diff) | |
Merge "Fix reversed logic" am: 946e857c71 am: ae6248d35b am: 6f1a7d3c10
am: 4559d83655
Change-Id: I6e10b29bfddc5d3f7d4b04d81ab7b610261bebc1
| -rw-r--r-- | libs/androidfw/ResourceTypes.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/androidfw/ResourceTypes.cpp b/libs/androidfw/ResourceTypes.cpp index 2ad2e76cc696..66df59b4c83b 100644 --- a/libs/androidfw/ResourceTypes.cpp +++ b/libs/androidfw/ResourceTypes.cpp @@ -7403,12 +7403,12 @@ void ResTable::print_value(const Package* pkg, const Res_value& value) const print_complex(value.data, true); printf("\n"); } else if (value.dataType >= Res_value::TYPE_FIRST_COLOR_INT - || value.dataType <= Res_value::TYPE_LAST_COLOR_INT) { + && value.dataType <= Res_value::TYPE_LAST_COLOR_INT) { printf("(color) #%08x\n", value.data); } else if (value.dataType == Res_value::TYPE_INT_BOOLEAN) { printf("(boolean) %s\n", value.data ? "true" : "false"); } else if (value.dataType >= Res_value::TYPE_FIRST_INT - || value.dataType <= Res_value::TYPE_LAST_INT) { + && value.dataType <= Res_value::TYPE_LAST_INT) { printf("(int) 0x%08x or %d\n", value.data, value.data); } else { printf("(unknown type) t=0x%02x d=0x%08x (s=0x%04x r=0x%02x)\n", |