package com.moac.android.opensecretsanta;

import android.accounts.AccountManager;
import android.content.Context;
import android.telephony.SmsManager;

import com.moac.android.opensecretsanta.activity.EditActivity;
import com.moac.android.opensecretsanta.activity.MainActivity;
import com.moac.android.opensecretsanta.activity.RestrictionsActivity;
import com.moac.android.opensecretsanta.database.DatabaseHelper;
import com.moac.android.opensecretsanta.database.DatabaseManager;
import com.moac.android.opensecretsanta.fragment.AssignmentFragment;
import com.moac.android.opensecretsanta.fragment.MemberEditFragment;
import com.moac.android.opensecretsanta.fragment.MemberListFragment;
import com.moac.android.opensecretsanta.fragment.NotifyDialogFragment;
import com.moac.android.opensecretsanta.fragment.NotifyExecutorFragment;
import com.moac.android.opensecretsanta.fragment.RestrictionsListFragment;
import com.moac.android.opensecretsanta.notify.mail.GmailSender;
import com.moac.android.opensecretsanta.notify.receiver.SmsSendReceiver;
import com.squareup.otto.Bus;

import javax.inject.Singleton;

import dagger.Provides;

@dagger.Module(
        injects = {
                NotifyExecutorFragment.class,
                NotifyDialogFragment.class},
        complete = false)
public class NotifyModule {

    private static final String TAG = NotifyModule.class.getSimpleName();
    private final Context mContext;

    public NotifyModule(Context context) {
        mContext = context;
    }

    @Provides
    SmsManager provideSmsManager() {
        return SmsManager.getDefault();
    }

    @Provides
    GmailSender provideGmailSender() {
        return new GmailSender();
    }

    @Provides
    @Singleton
    AccountManager provideAccountManager() {
        return AccountManager.get(mContext);
    }

}
@@ -190,888 +190,175 @@
 nta.
-activity.EditActivity;%0Aimport com.moac.android.opensecretsanta.activity.MainActivity;%0Aimport com.moac.android.opensecretsanta.activity.RestrictionsActivity;%0Aimport com.moac.android.opensecretsanta.database.DatabaseHelper;%0Aimport com.moac.android.opensecretsanta.database.DatabaseManager;%0Aimport com.moac.android.opensecretsanta.fragment.AssignmentFragment;%0Aimport com.moac.android.opensecretsanta.fragment.MemberEditFragment;%0Aimport com.moac.android.opensecretsanta.fragment.MemberListFragment;%0Aimport com.moac.android.opensecretsanta.fragment.NotifyDialogFragment;%0Aimport com.moac.android.opensecretsanta.fragment.NotifyExecutorFragment;%0Aimport com.moac.android.opensecretsanta.fragment.RestrictionsListFragment;%0Aimport com.moac.android.opensecretsanta.notify.mail.GmailSender;%0Aimport com.moac.android.opensecretsanta.notify.receiver.SmsSendReceiver;%0Aimport com.squareup.otto.Bus
+fragment.NotifyDialogFragment;%0Aimport com.moac.android.opensecretsanta.fragment.NotifyExecutorFragment;%0Aimport com.moac.android.opensecretsanta.notify.mail.GmailSender
 ;%0A%0Ai

Remove unused imports