Fix landscape resource issues
This commit is contained in:
parent
c17eb9046b
commit
c3991cd339
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…
Reference in a new issue