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…
Reference in a new issue