upgrade to target sdk 34: mark OngoingNotificationsService as Special Use, register receivers as exported

(This is required because it is allowed that plugins send intents and also intents from system notifications are not received in NonExported mode)
This commit is contained in:
Philipp Crocoll
2025-02-06 12:12:54 +01:00
parent d998e08b4f
commit 0bd58bd51f
13 changed files with 21 additions and 18 deletions

View File

@@ -39,7 +39,7 @@ namespace keepass2android
_intentReceiver = new LockCloseActivityBroadcastReceiver(this);
IntentFilter filter = new IntentFilter();
filter.AddAction(Intents.DatabaseLocked);
RegisterReceiver(_intentReceiver, filter);
RegisterReceiver(_intentReceiver, filter, ReceiverFlags.Exported);
}
protected override void OnResume() {