package uni.helsinki.sdc_weather;

import android.app.IntentService;
import android.content.Intent;
import android.util.Log;

public class WeatherService extends IntentService  {
	private static final String TAG = "WeatherService";

	public WeatherService(String name) {
		super(name);
	}

	@Override
	protected void onHandleIntent(Intent intent) {
		
        // Gets data from the incoming Intent
//        String str = intent.getDataString();
        Log.i(TAG, "Service started");
		
	}
	
	@Override
	public void onStart(Intent intent, int startId) {
		super.onStart(intent, startId);
	}

}

@@ -262,19 +262,8 @@
 ice(
-String name
 ) %7B%0D
@@ -275,12 +275,24 @@
 per(
-name
+%22WeatherService%22
 );%0D%0A

fix service constructor to prevent crash on startup