mirror of
https://github.com/etesync/android
synced 2025-02-02 19:01:06 +00:00
Import: fix crash when import finishes while the app is minimised.
This commit is contained in:
parent
c2521bf556
commit
71563eddfe
@ -105,7 +105,9 @@ public class ImportActivity extends BaseActivity implements SelectImportMethod,
|
|||||||
@Override
|
@Override
|
||||||
public void onImportResult(ResultFragment.ImportResult importResult) {
|
public void onImportResult(ResultFragment.ImportResult importResult) {
|
||||||
ResultFragment fragment = ResultFragment.newInstance(importResult);
|
ResultFragment fragment = ResultFragment.newInstance(importResult);
|
||||||
fragment.show(getSupportFragmentManager(), null);
|
getSupportFragmentManager().beginTransaction()
|
||||||
|
.show(fragment)
|
||||||
|
.commitAllowingStateLoss();
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
Loading…
Reference in New Issue
Block a user