klte-common: Fix rotation sensor

* Our sensor firmware is weird, and breaks
  when there's a batch size set
* Let's opt-out of setting a batch size in
  order to fix rotation on our devices

Change-Id: I3e930087f989a2b52078872219366ea59f53a6f3
Signed-off-by: Paul Keith <javelinanddart@gmail.com>
This commit is contained in:
Paul Keith 2017-01-15 20:33:33 -06:00
parent 2575fdfcf7
commit e831cc5130
1 changed files with 5 additions and 0 deletions

View File

@ -287,4 +287,9 @@
<item>ehrpd:4094,87380,1048576,4096,16384,262144</item>
</string-array>
<!-- Certain sensor firmwares break with having a batch
size set. By setting this to false, devices can opt
out of setting a batch size, which fixes rotation. -->
<bool name="config_useDefaultBatchingForAccel">false</bool>
</resources>