Fixed not restarting correctly after import

This is the same as 72a8e0f3b6
but that commit got lost when merging master into develop
This commit is contained in:
ByteHamster 2020-02-05 16:05:19 +01:00
parent f790b78b1a
commit f3e7dc59e6
1 changed files with 1 additions and 0 deletions

View File

@ -186,6 +186,7 @@ public class ImportExportPreferencesFragment extends PreferenceFragmentCompat {
ComponentName cn = intent.getComponent();
Intent mainIntent = Intent.makeRestartActivityTask(cn);
startActivity(mainIntent);
Runtime.getRuntime().exit(0);
});
d.show();
}