package eu.inloop.easygcm.sample;

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

import eu.inloop.easygcm.EasyGcm;


public class MainActivity extends Activity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);
        EasyGcm.setLoggingLevel(EasyGcm.Logger.LEVEL_WARNING);
        EasyGcm.init(this);
    }

}

package eu.inloop.easygcm.sample;

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

import eu.inloop.easygcm.EasyGcm;


public class MainActivity extends Activity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);
        EasyGcm.setLoggingLevel(EasyGcm.Logger.LEVEL_WARNING);
        EasyGcm.init(getApplicationContext());
    }

}

fix ConnectivityManager context leak