Fix out of memory exception by changing back stack usage
This commit is contained in:
parent
b67cec5ac1
commit
0d9a0c1fb3
1 changed files with 2 additions and 1 deletions
|
@ -214,7 +214,8 @@ public class LinphoneActivity extends FragmentActivity implements OnClickListene
|
||||||
transaction.setCustomAnimations(R.anim.slide_in_left_to_right, R.anim.slide_out_left_to_right, R.anim.slide_in_right_to_left, R.anim.slide_out_right_to_left);
|
transaction.setCustomAnimations(R.anim.slide_in_left_to_right, R.anim.slide_out_left_to_right, R.anim.slide_in_right_to_left, R.anim.slide_out_right_to_left);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
transaction.addToBackStack("Add to back stack");
|
getSupportFragmentManager().popBackStack(newFragmentType.toString(), FragmentManager.POP_BACK_STACK_INCLUSIVE);
|
||||||
|
transaction.addToBackStack(newFragmentType.toString());
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
try {
|
try {
|
||||||
|
|
Loading…
Reference in a new issue