Fixed importing old database models

Force full restart to trigger the upgrade methods again.
This commit is contained in:
ByteHamster 2020-01-15 10:30:49 +01:00
parent 4bb1ee8fe6
commit 72a8e0f3b6
1 changed files with 1 additions and 0 deletions

View File

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