[One (M7) Android Development] amokkatxda:
Again about proximity sensor. None of s2w or d2w are enabled. When in call the screen does not turn off by proximity sensor UNTIL I open dialpad in in-call UI.

Here is logcat http://pastebin.com/J3Jyfcdy

Look at the

<[0m<[38;5;40m06-03 21:44:14.033 I/Telecom ( 2506): ProximitySensorManager: Proximity wake lock already acquired
<[0m<[38;5;75m06-03 21:44:14.550 D/AccelerometerListener(27322): orientation: vertical
<[0m<[38;5;40m06-03 21:44:14.551 I/InCall (27322): ProximitySensor - ProximitySensor{keybrd=0, dpad=0, offhook=1, hor=0, ui=1, aud=EARPIECE}
<[0m<[38;5;40m06-03 21:44:14.553 I/Telecom ( 2506): ProximitySensorManager: Proximity wake lock already acquired
<[0m<[38;5;75m06-03 21:44:16.077 D/AccelerometerListener(27322): orientation: horizontal
<[0m<[38;5;40m06-03 21:44:16.078 I/InCall (27322): ProximitySensor - ProximitySensor{keybrd=0, dpad=0, offhook=1, hor=1, ui=1, aud=EARPIECE}
<[0m<[38;5;40m06-03 21:44:16.080 I/Telecom ( 2506): ProximitySensorManager: Proximity wake lock already acquired
<[0m<[38;5;75m06-03 21:44:16.394 D/AccelerometerListener(27322): orientation: vertical
<[0m<[38;5;40m06-03 21:44:16.395 I/InCall (27322): ProximitySensor - ProximitySensor{keybrd=0, dpad=0, offhook=1, hor=0, ui=1, aud=EARPIECE
}

Here I am putting the phone to ear and off the ear.

And now I opened dialpad:

<[0m<[38;5;40m06-03 21:44:24.009 I/Telecom ( 2506): ProximitySensorManager: Proximity wake lock already acquired
<[0m<[38;5;75m06-03 21:44:25.331 D/AccelerometerListener(27322): orientation: vertical
<[0m<[38;5;40m06-03 21:44:25.331 I/InCall (27322): ProximitySensor - ProximitySensor{keybrd=0, dpad=0, offhook=1, hor=0, ui=1, aud=EARPIECE
}
<[0m<[38;5;40m06-03 21:44:25.332 I/Telecom ( 2506): ProximitySensorManager: Proximity wake lock already acquired
<[0m<[38;5;40m06-03 21:44:25.439 I/InCall (27322): ProximitySensor - ProximitySensor{keybrd=0, dpad=1, offhook=1, hor=0, ui=1, aud=EARPIECE
}
<[0m<[38;5;40m06-03 21:44:25.440 I/Telecom ( 2506): ProximitySensorManager: Proximity wake lock already acquired
<[0m<[38;5;75m06-03 21:44:25.989 D/AccelerometerListener(27322): orientation: horizontal
<[0m<[38;5;40m06-03 21:44:25.990 I/InCall (27322): ProximitySensor - ProximitySensor{keybrd=0, dpad=1, offhook=1, hor=1, ui=1, aud=EARPIECE
}
<[0m<[38;5;40m06-03 21:44:25.993 I/Telecom ( 2506): ProximitySensorManager: Releasing proximity wake lock
<[0m<[38;5;75m06-03 21:44:26.963 D/AccelerometerListener(27322): orientation: vertical
<[0m<[38;5;40m06-03 21:44:26.964 I/InCall (27322): ProximitySensor - ProximitySensor{keybrd=0, dpad=1, offhook=1, hor=0, ui=1, aud=EARPIECE
}
<[0m<[38;5;40m06-03 21:44:26.966 I/Telecom ( 2506): ProximitySensorManager: Acquiring proximity wake lock
<[0m<[38;5;40m06-03 21:44:27.007 I/DisplayManagerService( 2506): Display device changed: DisplayDeviceInfo{"¦ТTБTВTА¦-¦¦¦-¦-TЛ¦¦ TН¦¦TА¦-¦-"
: uniqueId="local:0", 1080 x 1920, 60.0 fps, supportedRefreshRates [60.0], density 480, 472.965 x 473.475 dpi, appVsyncOff 0, presDeadline 1
7666667, touch INTERNAL, rotation 0, type BUILT_IN, state OFF, FLAG_DEFAULT_DISPLAY, FLAG_ROTATES_WITH_CONTENT, FLAG_SECURE, FLAG_SUPPORTS_P
ROTECTED_BUFFERS}
<[0m<[38;5;231m06-03 21:44:27.007 V/ActivityManager( 2506): Display changed displayId=0

Reproduced this many times.