WeatherInformation: no time for comments
authorGustavo Martin Morcuende <gu.martinm@gmail.com>
Mon, 20 Oct 2014 01:49:50 +0000 (03:49 +0200)
committerGustavo Martin Morcuende <gu.martinm@gmail.com>
Mon, 20 Oct 2014 01:49:50 +0000 (03:49 +0200)
app/src/main/java/de/example/exampletdd/WidgetIntentService.java

index ba6a4fc..b308ebe 100644 (file)
@@ -292,6 +292,7 @@ public class WidgetIntentService extends IntentService {
                                                0,
                                                PendingIntent.FLAG_UPDATE_CURRENT
                                                );
+        remoteView.setOnClickPendingIntent(R.id.weather_appwidget_error, resultPendingIntent);
 //        final PendingIntent resultPendingIntent = PendingIntent.getActivity(
 //                this.getApplicationContext(),
 //                0,