Fixing dialer button on about fragment + upade linphone

This commit is contained in:
Erwan Croze 2016-09-21 16:49:54 +02:00
parent 5832ba0809
commit 442cb8b8ae
2 changed files with 6 additions and 1 deletions

View file

@ -165,7 +165,7 @@ public class AboutFragment extends Fragment implements OnClickListener {
lc.resetLogCollection();
}
} else if (v == cancel) {
getFragmentManager().popBackStackImmediate();
LinphoneActivity.instance().goToDialerFragment();
}
}
}

View file

@ -769,6 +769,11 @@ public class LinphoneActivity extends Activity implements OnClickListener, Conta
getWindow().setSoftInputMode(WindowManager.LayoutParams.SOFT_INPUT_ADJUST_PAN | WindowManager.LayoutParams.SOFT_INPUT_STATE_HIDDEN);
}
public void goToDialerFragment() {
changeCurrentFragment(FragmentsAvailable.DIALER, null);
dialer_selected.setVisibility(View.VISIBLE);
}
public void onMessageSent(String to, String message) {
Fragment fragment = getFragmentManager().findFragmentById(R.id.fragmentContainer);
if (fragment.getClass() == ChatListFragment.class) {