Merge "Fix settings crash due to enrolling error" into oc-dev

am: 5ccc2fe242

Change-Id: I08fb0fd4826135f4b469e6516d2cea25cba0a679
This commit is contained in:
Kevin Chyn
2017-05-20 00:00:01 +00:00
committed by android-build-merger

View File

@@ -134,7 +134,7 @@ public class FingerprintEnrollFindSensor extends FingerprintEnrollBase {
return; return;
} }
} }
getFragmentManager().beginTransaction().remove(mSidecar).commit(); getFragmentManager().beginTransaction().remove(mSidecar).commitAllowingStateLoss();
mSidecar = null; mSidecar = null;
startActivityForResult(getEnrollingIntent(), ENROLLING); startActivityForResult(getEnrollingIntent(), ENROLLING);
} }