Merge "BiometricFragment should commitAllowingStateLoss" into rvc-dev am: 5c4334276f am: 6d5a778090 am: f1a45e1257 am: 4ae5cc5564 am: 6abb90c7af

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/11838911

Change-Id: Ibc323cab9c471e477f85cdeec143b6360ed21d8b
This commit is contained in:
Kevin Chyn
2020-06-12 21:05:36 +00:00
committed by Automerger Merge Worker

View File

@@ -114,7 +114,8 @@ public class BiometricFragment extends InstrumentedFragment {
private void cleanup() {
if (getActivity() != null) {
getActivity().getSupportFragmentManager().beginTransaction().remove(this).commit();
getActivity().getSupportFragmentManager().beginTransaction().remove(this)
.commitAllowingStateLoss();
}
}