diff options
| author | 2013-04-01 20:56:04 -0700 | |
|---|---|---|
| committer | 2013-04-04 18:10:37 -0700 | |
| commit | c6091c64c90e9557ea58e0d7cf75915aea7c6c3e (patch) | |
| tree | f5f69d5bbd0270d7a1b7564920e6f31f381704cd /libs/androidfw/InputDevice.cpp | |
| parent | 77d94957d793aba16a1352d25d5555bf59fe74e7 (diff) | |
Pipe through device resolution information
Bug: 8424494
Change-Id: Iafeeee0d5cd29342c1cdc86b9616222aaa5d1b94
Diffstat (limited to 'libs/androidfw/InputDevice.cpp')
| -rw-r--r-- | libs/androidfw/InputDevice.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/androidfw/InputDevice.cpp b/libs/androidfw/InputDevice.cpp index fe891cb2879a..f7420523f176 100644 --- a/libs/androidfw/InputDevice.cpp +++ b/libs/androidfw/InputDevice.cpp @@ -172,8 +172,8 @@ void InputDeviceInfo::addSource(uint32_t source) { } void InputDeviceInfo::addMotionRange(int32_t axis, uint32_t source, float min, float max, - float flat, float fuzz) { - MotionRange range = { axis, source, min, max, flat, fuzz }; + float flat, float fuzz, float resolution) { + MotionRange range = { axis, source, min, max, flat, fuzz, resolution }; mMotionRanges.add(range); } |