changes to locking of the database: implement an alternative to alarm-based timeout (using a timeout variables checked when resuming), closes https://github.com/PhilippC/keepass2android/issues/1346

This commit is contained in:
Philipp Crocoll
2020-10-12 11:57:58 +02:00
parent 27f9625d4e
commit 64e26fe372
15 changed files with 140 additions and 111 deletions

View File

@@ -234,7 +234,7 @@ namespace keepass2android
else
{
// Let's not bother recovering from a failure to save. It is too much work.
App.Lock(false);
App.Lock(false, false);
}
}, OnFinishToRun);

View File

@@ -82,7 +82,7 @@ namespace keepass2android
_editGroup.App.DirtyGroups.Add(_editGroup.Group.ParentGroup);
} else
{
_editGroup._app.Lock(false);
_editGroup._app.Lock(false, false);
}
base.Run();