Fix video call rotation issue
This commit is contained in:
parent
a2d010cfcc
commit
a53f55ece9
2 changed files with 7 additions and 1 deletions
|
@ -103,7 +103,8 @@
|
|||
</activity>
|
||||
<activity android:name="org.linphone.VideoCallActivity"
|
||||
android:theme="@android:style/Theme.NoTitleBar.Fullscreen"
|
||||
android:launchMode="singleTop">
|
||||
android:launchMode="singleTop"
|
||||
android:configChanges="orientation">
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.MAIN" />
|
||||
</intent-filter>
|
||||
|
|
|
@ -29,6 +29,7 @@ import org.linphone.mediastream.video.capture.hwconf.AndroidCameraConfiguration;
|
|||
|
||||
import android.app.Activity;
|
||||
import android.content.Context;
|
||||
import android.content.res.Configuration;
|
||||
import android.opengl.GLSurfaceView;
|
||||
import android.os.Bundle;
|
||||
import android.os.Handler;
|
||||
|
@ -319,4 +320,8 @@ public class VideoCallActivity extends Activity implements LinphoneOnCallStateCh
|
|||
finish();
|
||||
}
|
||||
}
|
||||
|
||||
public void onConfigurationChanged(Configuration newConfig) {
|
||||
super.onConfigurationChanged(null);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue