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
|
@Override
|
||||||
protected void onCreate(Bundle savedInstanceState) {
|
protected void onCreate(Bundle savedInstanceState) {
|
||||||
FragmentManager.enableDebugLogging(true);
|
|
||||||
super.onCreate(savedInstanceState);
|
super.onCreate(savedInstanceState);
|
||||||
|
|
||||||
if (!LinphoneManager.isInstanciated()) {
|
if (!LinphoneManager.isInstanciated()) {
|
||||||
|
@ -129,15 +128,13 @@ public class LinphoneActivity extends FragmentActivity implements OnClickListene
|
||||||
initButtons();
|
initButtons();
|
||||||
|
|
||||||
currentFragment = FragmentsAvailable.DIALER;
|
currentFragment = FragmentsAvailable.DIALER;
|
||||||
if (savedInstanceState != null) {
|
if (savedInstanceState == null) {
|
||||||
return;
|
if (findViewById(R.id.fragmentContainer) != null) {
|
||||||
}
|
dialerFragment = new DialerFragment();
|
||||||
|
dialerFragment.setArguments(getIntent().getExtras());
|
||||||
if (findViewById(R.id.fragmentContainer) != null) {
|
getSupportFragmentManager().beginTransaction()
|
||||||
dialerFragment = new DialerFragment();
|
.add(R.id.fragmentContainer, dialerFragment).commit();
|
||||||
dialerFragment.setArguments(getIntent().getExtras());
|
}
|
||||||
getSupportFragmentManager().beginTransaction()
|
|
||||||
.add(R.id.fragmentContainer, dialerFragment).commit();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
int missedCalls = LinphoneManager.getLc().getMissedCallsCount();
|
int missedCalls = LinphoneManager.getLc().getMissedCallsCount();
|
||||||
|
|
Loading…
Reference in a new issue