fix proximity sensor issue while rotating screen

This commit is contained in:
Jehan Monnier 2011-01-04 19:38:02 +01:00
parent cb7bb1bbf3
commit 50680555af

View file

@ -252,6 +252,7 @@ public class DialerActivity extends Activity implements LinphoneCoreListener {
mDisplayNameView.setText(lLinphoneCore.getRemoteAddress().getUserName()); mDisplayNameView.setText(lLinphoneCore.getRemoteAddress().getUserName());
} }
configureMuteAndSpeakerButtons(); configureMuteAndSpeakerButtons();
LinphoneActivity.instance().startProxymitySensor();
mWakeLock.acquire(); mWakeLock.acquire();
} }
} }