Fix no more disabling proximity sensor on rotation during a call

This commit is contained in:
Erwan Croze 2017-03-02 16:08:25 +01:00
parent 07c67f3fec
commit 67771ecf02

View file

@ -1262,9 +1262,6 @@ public class CallActivity extends LinphoneGenericActivity implements OnClickList
mControlsHandler.removeCallbacks(mControls); mControlsHandler.removeCallbacks(mControls);
} }
mControls = null; mControls = null;
// Workaround for proximity sensor bug on Samsung devices
if (lc.getCurrentCall() != null && lc.getCurrentCall().getState() != State.StreamsRunning)
enableProximitySensing(false);
} }
@Override @Override