Skip to content
Commit 716f7b3f authored by Ilya Polenov's avatar Ilya Polenov Committed by Gerrit Code Review
Browse files

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: default avatarIlya Polenov <daioptych@gmail.com>
parent 7ad885e2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment