GitHub PushEvent at 2014-09-20 06:16:52
Repository: android_frameworks_base
Actor: mifl
Payload: {"shas":[["a26321fe2c332b3f868d27dfbcc8ec28ac990fac","9defb1d2166fe02be9724618510318ef57e74e91@gmail.com","Improve strings\n\nChange-Id: Ia210ee0fb04214325d26abaefed188d956e96c91","Michael Bestas",true],["a39654a434c4cdbb08b2fe7a12a848273a5eaa16","dcf88c389b6b4342efc33eca13f5d4f117b759fc@gmail.com","ProximitySensor: check for correct MaxRange value\n\nUse TYPICAL_PROXIMITY_THRESHOLD for devices that returns incorrect mProximitySensor.getMaximumRange() value;\n\nPresto's proximity sensor returns values: 0.0f(near) or 5.0f(far).\nmProximitySensor.getMaximumRange() must return proximity sensor's availible range, but it always return 0, so mProximityThreshold is also 0.\n\nSo boolean positive = distance >= 0.0f && distance < mProximityThreshold;  positive will never be\ntrue.\nThe cause of this problem is proprietary sensor.msm8660.so, it must set proper Range and Resolution for proximity sensor.\n\nChange-Id: I0cf81fd20f210115cbd6db10c0070b12f1c57336","Vladimir Sh",true]],"size":2,"ref":"refs/heads/cm-11.0","head":"a39654a434c4cdbb08b2fe7a12a848273a5eaa16"}