@Override protected void onResume() { instance = this; LinphoneManager.startProximitySensorForActivity(this); setCallControlsVisibleAndRemoveCallbacks(); super.onResume(); LinphoneCore lc = LinphoneManager.getLcIfManagerNotDestroyedOrNull(); if (lc != null) { lc.addListener(mListener); } refreshCallList(getResources()); }
private void showAudioView() { LinphoneManager.startProximitySensorForActivity(InCallActivity.this); setCallControlsVisibleAndRemoveCallbacks(); }