mirror of
https://gitlab.linphone.org/BC/public/linphone-android.git
synced 2026-04-28 12:06:19 +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
|
@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…
Add table
Reference in a new issue