package cc.mvdan.template;

import android.app.Activity;
import android.content.Context;
import android.os.Bundle;

import cc.mvdan.template.R;

public class MainActivity extends Activity {

    private Context mContext;

    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        mContext = this;
        setContentView(R.layout.main);
    }

    @Override
    public void onResume() {
        super.onResume();
    }

}

package cc.mvdan.template;

import android.app.Activity;
import android.os.Bundle;

import cc.mvdan.template.R;

public class MainActivity extends Activity {

    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);
    }

}

Remove unnecessary mContext stuff