mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-12 10:49:06 +01:00
Store schema version in database. Dev task #50.
If the schema of the database is incompatible with the schema expected by the code, the database throws a DbSchemaException. LifecycleManager indicates the error to BriarService, which uses HomeScreenActivity to show a notification and quit the app.
This commit is contained in:
@@ -247,7 +247,7 @@ public class SetupActivity extends RoboActivity implements OnClickListener {
|
||||
public void run() {
|
||||
Intent i = new Intent(SetupActivity.this,
|
||||
HomeScreenActivity.class);
|
||||
i.putExtra("org.briarproject.LOCAL_AUTHOR_HANDLE", handle);
|
||||
i.putExtra("briar.LOCAL_AUTHOR_HANDLE", handle);
|
||||
i.setFlags(FLAG_ACTIVITY_NEW_TASK);
|
||||
startActivity(i);
|
||||
finish();
|
||||
|
||||
Reference in New Issue
Block a user