Import: fix crash when import finishes while the app is minimised.

pull/21/head
Tom Hacohen 7 years ago
parent c2521bf556
commit 71563eddfe

@ -105,7 +105,9 @@ public class ImportActivity extends BaseActivity implements SelectImportMethod,
@Override
public void onImportResult(ResultFragment.ImportResult importResult) {
ResultFragment fragment = ResultFragment.newInstance(importResult);
fragment.show(getSupportFragmentManager(), null);
getSupportFragmentManager().beginTransaction()
.show(fragment)
.commitAllowingStateLoss();
}
@Override

Loading…
Cancel
Save