mirror of
https://gitlab.linphone.org/BC/public/linphone-android.git
synced 2026-01-17 19:38:08 +00:00
Fix landscape resource issues
This commit is contained in:
parent
5fc82a3bc2
commit
de35774ea9
3 changed files with 7 additions and 10 deletions
Binary file not shown.
|
Before Width: | Height: | Size: 6.8 KiB After Width: | Height: | Size: 6.6 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 5 KiB After Width: | Height: | Size: 4.8 KiB |
|
|
@ -107,7 +107,6 @@ public class LinphoneActivity extends FragmentActivity implements OnClickListene
|
|||
|
||||
@Override
|
||||
protected void onCreate(Bundle savedInstanceState) {
|
||||
FragmentManager.enableDebugLogging(true);
|
||||
super.onCreate(savedInstanceState);
|
||||
|
||||
if (!LinphoneManager.isInstanciated()) {
|
||||
|
|
@ -129,15 +128,13 @@ public class LinphoneActivity extends FragmentActivity implements OnClickListene
|
|||
initButtons();
|
||||
|
||||
currentFragment = FragmentsAvailable.DIALER;
|
||||
if (savedInstanceState != null) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (findViewById(R.id.fragmentContainer) != null) {
|
||||
dialerFragment = new DialerFragment();
|
||||
dialerFragment.setArguments(getIntent().getExtras());
|
||||
getSupportFragmentManager().beginTransaction()
|
||||
.add(R.id.fragmentContainer, dialerFragment).commit();
|
||||
if (savedInstanceState == null) {
|
||||
if (findViewById(R.id.fragmentContainer) != null) {
|
||||
dialerFragment = new DialerFragment();
|
||||
dialerFragment.setArguments(getIntent().getExtras());
|
||||
getSupportFragmentManager().beginTransaction()
|
||||
.add(R.id.fragmentContainer, dialerFragment).commit();
|
||||
}
|
||||
}
|
||||
|
||||
int missedCalls = LinphoneManager.getLc().getMissedCallsCount();
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue