tasks no longer store references to activities. These can "expire" and are hard to update (e.g. if one task creates another). Instead, the app can provide the currently active context.

This commit is contained in:
Philipp Crocoll
2025-05-13 14:51:44 +02:00
parent aa2e4b856d
commit 71806178d0
42 changed files with 285 additions and 307 deletions

View File

@@ -19,10 +19,9 @@ namespace keepass2android
private readonly IKp2aApp _app;
public CheckDatabaseForChanges(Activity context, IKp2aApp app, OnOperationFinishedHandler operationFinishedHandler)
: base(context, operationFinishedHandler)
public CheckDatabaseForChanges(IKp2aApp app, OnOperationFinishedHandler operationFinishedHandler)
: base(app, operationFinishedHandler)
{
_context = context;
_app = app;
}