/**
* Copyright 2010 Mark Wyszomierski
* Portions Copyright (c) 2008-2010 CommonsWare, LLC
*/
package com.joelapenna.foursquared.app;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
/**
* This is based off the chapter 13 sample in Advanced Android Development, by Mark Murphy.
*
* @date May 21, 2010
* @author Mark Wyszomierski (markww@gmail.com)
*/
public class OnBootReceiver extends BroadcastReceiver {
public static final String TAG = "OnBootReceiver";
@Override
public void onReceive(Context context, Intent intent) {
// If the user has notifications on, set an alarm every N minutes, where N is their
// requested refresh rate.
PingsService.setupPings(context);
}
}