mirror of
https://gitlab.linphone.org/BC/public/linphone-android.git
synced 2026-01-18 03:48:08 +00:00
Use popBackStack instead of creating a new fragment
This commit is contained in:
parent
82fe152b5c
commit
ac6bf5dfe2
2 changed files with 2 additions and 2 deletions
|
|
@ -93,7 +93,7 @@ public class AboutFragment extends Fragment implements OnClickListener {
|
|||
lc.resetLogCollection();
|
||||
}
|
||||
} else if (v == cancel) {
|
||||
LinphoneActivity.instance().displayDialer();
|
||||
getFragmentManager().popBackStackImmediate();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -253,7 +253,7 @@ public class ContactDetailsFragment extends Fragment implements OnClickListener
|
|||
dialog.show();
|
||||
}
|
||||
if (id == R.id.back) {
|
||||
LinphoneActivity.instance().displayContacts(false);
|
||||
getFragmentManager().popBackStackImmediate();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue