Fix preview window on Nexus one.
This commit is contained in:
parent
6673e98932
commit
cce4aa0995
2 changed files with 5 additions and 5 deletions
|
@ -99,7 +99,9 @@ public class VideoCallActivity extends Activity implements LinphoneOnCallStateCh
|
|||
}
|
||||
|
||||
public void onVideoPreviewSurfaceDestroyed(AndroidVideoWindowImpl vw) {
|
||||
|
||||
// Remove references kept in jni code and restart camera
|
||||
// LinphoneManager.getLc().setPreviewWindow(null);
|
||||
// Commented to remove flicker.
|
||||
}
|
||||
});
|
||||
|
||||
|
@ -290,9 +292,7 @@ public class VideoCallActivity extends Activity implements LinphoneOnCallStateCh
|
|||
*/
|
||||
LinphoneManager.getLc().setVideoWindow(null);
|
||||
}
|
||||
|
||||
LinphoneManager.getLc().setPreviewWindow(null);
|
||||
|
||||
|
||||
if (mCallQualityUpdater!=null){
|
||||
refreshHandler.removeCallbacks(mCallQualityUpdater);
|
||||
mCallQualityUpdater=null;
|
||||
|
|
|
@ -1 +1 @@
|
|||
Subproject commit ad8a8bbbb3fe7189111c38eefe1320ae21a64f02
|
||||
Subproject commit 75e7426eb68e6fdbaae229e05fe11398172fec7e
|
Loading…
Reference in a new issue