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:
parent
f790b78b1a
commit
f3e7dc59e6
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue