* On stock ROM proximity only changes if changes occur near to the sensor. However on AOSP proximity already changes if a finger is placed somewhere between the upper half and the middle of the screen, making it impossible to for example pull down the notification panel during a phone call because the screen constantly turnes off. Samsung seems to apply something remotely similar on their stock ROM by creating a whole new virtual sensor. * We now check if the area around the sensor (1400-2800 on the X axis, 0-700 on the Y axis) is touched and only then report proximity changes. * To not break proximity reporting during screen off we also check if the panel is in LPM state Change-Id: I22cb2f15cbb8a852b416642b47e1eb2799053d7efourteen
parent
195fc44e84
commit
819278a2f2
Loading…
Reference in new issue