mirror of
https://gitlab.linphone.org/BC/public/linphone-android.git
synced 2026-01-25 15:58:12 +00:00
Fix dialer rotation on phones
This commit is contained in:
parent
5a392adaf4
commit
08496f4691
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