Fixed not restarting correctly after import

This is the same as 72a8e0f3b622641f9e6e9ff6001f12db87d9c948
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

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();
}