BiometricFragment should commitAllowingStateLoss
This is a terminal case for both authentication as well as the activity itself, so this should be safe. Fixes: 158635014 Test: Builds Change-Id: Ieef1ab305e6518dbc0ae34ad59d52da82895972a
This commit is contained in:
@@ -124,7 +124,8 @@ public class BiometricFragment extends InstrumentedFragment {
|
|||||||
|
|
||||||
private void cleanup() {
|
private void cleanup() {
|
||||||
if (getActivity() != null) {
|
if (getActivity() != null) {
|
||||||
getActivity().getSupportFragmentManager().beginTransaction().remove(this).commit();
|
getActivity().getSupportFragmentManager().beginTransaction().remove(this)
|
||||||
|
.commitAllowingStateLoss();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user