package com.beem.project.beem.utils;

import com.beem.project.beem.R;
import com.beem.project.beem.ui.Login;

import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.widget.Toast;

/**
 * @author nikita
 *
 */
public class BeemBroadcastReceiver extends BroadcastReceiver {

    /**
     * {@inheritDoc}
     */
    @Override
    public void onReceive(Context context, Intent intent) {
	context.startActivity(new Intent(context, Login.class));
	Toast.makeText(context, context.getString(R.string.BeemBroadcastReceiverDisconnect), Toast.LENGTH_LONG).show();
    }
}
