mirror of
https://gitlab.linphone.org/BC/public/linphone-android.git
synced 2026-01-18 03:48:08 +00:00
Fix dialer rotation on phones
This commit is contained in:
parent
7858792db1
commit
2199933126
1 changed files with 2 additions and 0 deletions
|
|
@ -126,6 +126,8 @@ public class LinphoneActivity extends FragmentActivity implements
|
|||
|
||||
if (isTablet() && getRequestedOrientation() != ActivityInfo.SCREEN_ORIENTATION_LANDSCAPE) {
|
||||
setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_LANDSCAPE);
|
||||
} else {
|
||||
setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_PORTRAIT);
|
||||
}
|
||||
|
||||
if (!LinphoneManager.isInstanciated()) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue