Fix landscape resource issues

This commit is contained in:
Sylvain Berfini 2012-08-08 14:42:47 +02:00
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

View file

@ -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,16 +128,14 @@ public class LinphoneActivity extends FragmentActivity implements OnClickListene
initButtons();
currentFragment = FragmentsAvailable.DIALER;
if (savedInstanceState != null) {
return;
}
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();
displayMissedCalls(missedCalls);