package org.metawatch.manager;

import org.metawatch.manager.MetaWatchService.Preferences;

import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.util.Log;

public class BootCompletedReceiver extends BroadcastReceiver {

	@Override
	public void onReceive(Context context, Intent intent)
	{
		 if(Preferences.autoConnect) {
			 context.startService(new Intent(context, MetaWatchService.class));
		 }
	     if (Preferences.logging) Log.v(MetaWatch.TAG, "Service loaded at start");
	}

}

@@ -459,16 +459,9 @@
 ;%0A%09%09
- %7D%0A%09    
+%09
  if 
@@ -531,14 +531,26 @@
 tart%22);%0A
+%09%09 %7D%0A%09     %0A
 %09%7D%0A%0A%7D%0A

print the message when appropriate