Loading app/k9mail/src/main/AndroidManifest.xml +2 −2 Original line number Diff line number Diff line Loading @@ -330,8 +330,8 @@ android:enabled="true" android:permission="foundation.e.accountmanager.permission.ACCOUNT_EVENTS"> <intent-filter> <action android:name="foundation.e.accountmanager.account.create"/> <action android:name="foundation.e.accountmanager.account.removed"/> <action android:name="foundation.e.accountmanager.action.ACCOUNT_ADDED"/> <action android:name="foundation.e.accountmanager.action.ACCOUNT_REMOVED"/> </intent-filter> </receiver> Loading app/ui/legacy/src/main/java/com/fsck/k9/account/AccountSyncReceiver.kt +5 −6 Original line number Diff line number Diff line Loading @@ -34,10 +34,9 @@ import org.koin.core.component.inject class AccountSyncReceiver : BroadcastReceiver(), KoinComponent { companion object { private const val ACTION_PREFIX = "foundation.e.accountmanager.account" private const val ACCOUNT_CREATION_ACTION = "$ACTION_PREFIX.create" private const val ACCOUNT_REMOVAL_ACTION = "$ACTION_PREFIX.removed" private const val ACTION_PREFIX = "foundation.e.accountmanager.action" private const val ACTION_ACCOUNT_ADDED = "$ACTION_PREFIX.ACCOUNT_ADDED" private const val ACTION_ACCOUNT_REMOVED = "$ACTION_PREFIX.ACCOUNT_REMOVED" } Loading @@ -52,8 +51,8 @@ class AccountSyncReceiver : BroadcastReceiver(), KoinComponent { } when (intent.action) { ACCOUNT_CREATION_ACTION -> createNewAccount(context) ACCOUNT_REMOVAL_ACTION -> removeAccount(intent) ACTION_ACCOUNT_ADDED -> createNewAccount(context) ACTION_ACCOUNT_REMOVED -> removeAccount(intent) } } Loading Loading
app/k9mail/src/main/AndroidManifest.xml +2 −2 Original line number Diff line number Diff line Loading @@ -330,8 +330,8 @@ android:enabled="true" android:permission="foundation.e.accountmanager.permission.ACCOUNT_EVENTS"> <intent-filter> <action android:name="foundation.e.accountmanager.account.create"/> <action android:name="foundation.e.accountmanager.account.removed"/> <action android:name="foundation.e.accountmanager.action.ACCOUNT_ADDED"/> <action android:name="foundation.e.accountmanager.action.ACCOUNT_REMOVED"/> </intent-filter> </receiver> Loading
app/ui/legacy/src/main/java/com/fsck/k9/account/AccountSyncReceiver.kt +5 −6 Original line number Diff line number Diff line Loading @@ -34,10 +34,9 @@ import org.koin.core.component.inject class AccountSyncReceiver : BroadcastReceiver(), KoinComponent { companion object { private const val ACTION_PREFIX = "foundation.e.accountmanager.account" private const val ACCOUNT_CREATION_ACTION = "$ACTION_PREFIX.create" private const val ACCOUNT_REMOVAL_ACTION = "$ACTION_PREFIX.removed" private const val ACTION_PREFIX = "foundation.e.accountmanager.action" private const val ACTION_ACCOUNT_ADDED = "$ACTION_PREFIX.ACCOUNT_ADDED" private const val ACTION_ACCOUNT_REMOVED = "$ACTION_PREFIX.ACCOUNT_REMOVED" } Loading @@ -52,8 +51,8 @@ class AccountSyncReceiver : BroadcastReceiver(), KoinComponent { } when (intent.action) { ACCOUNT_CREATION_ACTION -> createNewAccount(context) ACCOUNT_REMOVAL_ACTION -> removeAccount(intent) ACTION_ACCOUNT_ADDED -> createNewAccount(context) ACTION_ACCOUNT_REMOVED -> removeAccount(intent) } } Loading