Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 435d1f2d authored by Mohammed Althaf T's avatar Mohammed Althaf T 😊
Browse files

mail: Move AccountSyncReceiver

parent 12aee8ae
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -41,7 +41,7 @@
        tools:ignore="UnusedAttribute"
        >

        <receiver android:name="com.fsck.k9.AccountReceiver"
        <receiver android:name="com.fsck.k9.account.AccountSyncReceiver"
            android:exported="true">
            <intent-filter>
                <action android:name="android.accounts.LOGIN_ACCOUNTS_CHANGED" />
+3 −3
Original line number Diff line number Diff line
@@ -15,20 +15,20 @@
 * along with this program. If not, see <https://www.gnu.org/licenses/>.
 *
 */
package com.fsck.k9
package com.fsck.k9.account

import android.accounts.AccountManager
import android.content.BroadcastReceiver
import android.content.Context
import android.content.Intent
import app.k9mail.feature.account.accountmanager.AccountManagerConstants
import com.fsck.k9.account.BackgroundAccountRemover
import com.fsck.k9.Preferences
import com.fsck.k9.activity.accountmanager.EeloAccountCreator
import com.fsck.k9.controller.push.PushController
import org.koin.core.component.KoinComponent
import org.koin.core.component.inject

class AccountReceiver : BroadcastReceiver(), KoinComponent {
class AccountSyncReceiver : BroadcastReceiver(), KoinComponent {

    private val pushController: PushController by inject()
    private val preferences: Preferences by inject()