Fixing dialer button on about fragment + upade linphone
This commit is contained in:
parent
5832ba0809
commit
442cb8b8ae
2 changed files with 6 additions and 1 deletions
|
@ -165,7 +165,7 @@ public class AboutFragment extends Fragment implements OnClickListener {
|
||||||
lc.resetLogCollection();
|
lc.resetLogCollection();
|
||||||
}
|
}
|
||||||
} else if (v == cancel) {
|
} else if (v == cancel) {
|
||||||
getFragmentManager().popBackStackImmediate();
|
LinphoneActivity.instance().goToDialerFragment();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -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);
|
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) {
|
public void onMessageSent(String to, String message) {
|
||||||
Fragment fragment = getFragmentManager().findFragmentById(R.id.fragmentContainer);
|
Fragment fragment = getFragmentManager().findFragmentById(R.id.fragmentContainer);
|
||||||
if (fragment.getClass() == ChatListFragment.class) {
|
if (fragment.getClass() == ChatListFragment.class) {
|
||||||
|
|
Loading…
Reference in a new issue