1
0
mirror of https://github.com/etesync/android synced 2025-01-23 14:10:54 +00:00

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

This commit is contained in:
Tom Hacohen 2017-11-29 10:05:48 +00:00
parent c2521bf556
commit 71563eddfe

View File

@ -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