summaryrefslogtreecommitdiffstats
path: root/media/java/android
diff options
context:
space:
mode:
authorflintman <flintman@flintmancomputers.com>2015-11-21 20:51:06 -0500
committerGerrit Code Review <gerrit@cyanogenmod.org>2016-03-08 15:34:44 -0800
commite4bc68603b42ae01b22aebcb80b2d2c17d7b9158 (patch)
treebb00b1f92d363b8867b3c50dc9f010698587d834 /media/java/android
parent4fa29056b5ffa00400764a5053b78c9ad1f2e6f6 (diff)
downloadframeworks_base-e4bc68603b42ae01b22aebcb80b2d2c17d7b9158.zip
frameworks_base-e4bc68603b42ae01b22aebcb80b2d2c17d7b9158.tar.gz
frameworks_base-e4bc68603b42ae01b22aebcb80b2d2c17d7b9158.tar.bz2
sensors: Create bool to select what timestamp to use
Older devices may have an issue with rotation freezes up and requires a reboot to fix. In deep sleep the sensor's timestamp is far off, depending how long it's in sleep, causing rotation not to work. onSensorChanged if true it will use SystemClock.elapsedRealtimeNanos() instead of event.timestamp. Possibly an update to the custom sensor libs. Change-Id: Ie456e12cb65fbb921cb780112df301655b93b14f
Diffstat (limited to 'media/java/android')
0 files changed, 0 insertions, 0 deletions