<commit_before>package com.groceryreminder.injection;

import android.content.Context;
import android.location.LocationManager;

import javax.inject.Singleton;

import dagger.Module;
import dagger.Provides;

import static android.content.Context.LOCATION_SERVICE;

@Module(library = true)
public class AndroidModule {

    private ReminderApplication application;

    public AndroidModule(ReminderApplication application) {
        this.application = application;
    }

    @Provides
    @Singleton
    @ForApplication
    public Context getApplicationContext() {
        return application;<commit_msg>Corrected MainActivity injection.<commit_after>package com.groceryreminder.injection;

import android.content.Context;
import android.location.LocationManager;

import com.groceryreminder.views.MainActivity;

import javax.inject.Singleton;

import dagger.Module;
import dagger.Provides;

import static android.content.Context.LOCATION_SERVICE;

@Module(library = true,
    injects = {MainActivity.class}
)
public class AndroidModule {

    private ReminderApplication application;

    public AndroidModule(ReminderApplication application) {
        this.application = application;
    }

    @Provides
    @Singleton
    @ForApplication
    public Context getApplicationContext() {
        return application;
{'fraction_non_alphanumeric': 0.07300380228136882, 'fraction_numerical': 0.0, 'mean_word_length': 4.648068669527897, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1463293', 'n_tokens_mistral': 349, 'n_tokens_neox': 336, 'n_words': 77}