diff options
author | Chet Haase <chet@google.com> | 2016-06-07 16:05:12 -0700 |
---|---|---|
committer | Chet Haase <chet@google.com> | 2016-06-07 16:08:35 -0700 |
commit | 724792d0cfe7412bf1cc825715f3f8a4d2481781 (patch) | |
tree | 69273b137717134e302057ca300c0a7f65aae914 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 63e8d8d22823c457d2a5ffd85e62d351aabdb7cb (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