summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorChet Haase <chet@google.com>2016-06-07 16:05:12 -0700
committerChet Haase <chet@google.com>2016-06-07 16:08:35 -0700
commit724792d0cfe7412bf1cc825715f3f8a4d2481781 (patch)
tree69273b137717134e302057ca300c0a7f65aae914 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent63e8d8d22823c457d2a5ffd85e62d351aabdb7cb (diff)
Fixed rounding logic in TypedValue to handle negative values correctly
Simple rounding by +.5 doesn't work for negative values. one-line fix. Issue #26884580 Resources#getDimensionPixelSize rounds incorrectly for negative values Change-Id: Ib2314f7e50320dde87d4c5035a59b49e8f015eaf
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions