summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorIlya Polenov <daioptych@gmail.com>2012-12-10 10:19:58 +0400
committerGerrit Code Review <noreply-gerritcodereview@google.com>2013-01-30 10:15:00 +0000
commit716f7b3f5e29adedf1cd5c11529d9cfd82246897 (patch)
tree4e38b37b38069168d527b9224bd5598ea762b7f9 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent7ad885e2e6c845dbec4f16cd71e859240741dbf9 (diff)
Fix PointerCoords Parcel incorrectly storing values as Int32
PointerCoords stores its values as float and its Parcel should do the same. Wrong behaviour may be noticed when MotionEvent is injected using Instrumentation method sendPointerSync. All its PointerCoords values(size, orientation, pressure, etc) will be casted to integer omitting their decimal part. This fix addresses this issue. Change-Id: Ifa3dfce4d5c2e6c060852f4208cb5684e827c7e6 Signed-off-by: Ilya Polenov <daioptych@gmail.com>
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions