Merge pull request #3832 from ByteHamster/fix-import-restart
Fixed not restarting correctly after import
This commit is contained in:
commit
c9b8c101ee
|
@ -186,6 +186,7 @@ public class ImportExportPreferencesFragment extends PreferenceFragmentCompat {
|
||||||
ComponentName cn = intent.getComponent();
|
ComponentName cn = intent.getComponent();
|
||||||
Intent mainIntent = Intent.makeRestartActivityTask(cn);
|
Intent mainIntent = Intent.makeRestartActivityTask(cn);
|
||||||
startActivity(mainIntent);
|
startActivity(mainIntent);
|
||||||
|
Runtime.getRuntime().exit(0);
|
||||||
});
|
});
|
||||||
d.show();
|
d.show();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue