android_device_lge_thunderc_common
android_device_lge_thunderc_common copied to clipboard
Accelerometer becomes sluggish after a time
After running for 12-16 hours, the accelerometor becomes very sluggish, to the point that games like Overkill and Abduction! are unplayable, and you can see the results as well in bubble level apps like Bubble. It works, the positioning is correct, it's just very, very slow.
Logcat snapshot taken when it cropped up:
http://home.comcast.net/~benfunk/log.txt
This bug introduced in 2.3.3. I fixed it by reverting SensorDevice class to 2.3.2 state. https://github.com/mik9/android_frameworks_base/commit/32d208be498e11fc71e78b8331ff14ac6b2cba84#services/sensorservice Easy to reproduce: it became sluggish after call.
Interesting. With the CDMA phones this isn't triggered by phone calls, but rather by extended uptime.
mik9's patch works great...I believe this can be closed.
mik9's patch works on the VM's Motorola Triumph too, its time this fix gets more attention (it's not in IHO's repo yet)
Yah, it's probably worth opening an issue on Gerrit for this. Since this reverts a changeset, on my list of things to do is figure out which part actually needs to be reverted or fixed before committing it to IHO (sucks since I've been so distracted from development, I know).