summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorGreg Kaiser <gkaiser@google.com>2016-08-17 16:44:14 -0700
committerGreg Kaiser <gkaiser@google.com>2016-08-19 11:02:59 -0700
commit6d9e7f669a6f03fa73abcae1ae36b529de1f6f3f (patch)
tree2ce10c0a2eea905a8b42a7bde8301972fa64efb5 /tools/aapt2/java/JavaClassGenerator.cpp
parent4ecc9d2db400225b6f5e0d76d17b8f94354996a6 (diff)
ContextHubService: Maintain hub result meaning
We're squeezing a 4-byte signed value to 1-byte. The naive (implicit) cast we were using could flip this value from positive to negative, or vice versa, and completely change the meaning of the result. API freeze prevents us from fixing this properly at the moment, but we use a less naive approach to truncate this value, maintaining its meaning and logging when we've changed the value. Bug:30829863 Change-Id: I0e80af9b192066fdf36fee565a4587eb75a5ea7b
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions