/**
 * Copyright (C) 2015 android10.org. All rights reserved.
 * @author Fernando Cejas (the android10 coder)
 */
package com.fernandocejas.android10.sample.presentation.internal.di.modules;

import android.app.Activity;
import android.content.Context;
import com.fernandocejas.android10.sample.presentation.internal.di.PerActivity;
import dagger.Module;
import dagger.Provides;

/**
 * A module to wrap the Activity state and expose it to the graph.
 */
@Module
public class ActivityModule {
  private final Activity activity;

  public ActivityModule(Activity activity) {
    this.activity = activity;
  }

  /**
  * Expose the activity to dependents in the graph.
  */
  @Provides @PerActivity Activity activity() {
    return this.activity;
  }

  @Provides @PerActivity Context provideActivityContext() {
    return this.activity;
  }
}

@@ -218,40 +218,8 @@
 ty;%0A
-import android.content.Context;%0A
 impo
@@ -713,98 +713,7 @@
 %0A  %7D
-%0A%0A  @Provides @PerActivity Context provideActivityContext() %7B%0A    return this.activity;%0A  %7D
 %0A%7D%0A

Remove unused Context provide method.