WeatherInformation: widget view using wrong layout
authorGustavo Martin Morcuende <gu.martinm@gmail.com>
Mon, 20 Oct 2014 01:28:34 +0000 (03:28 +0200)
committerGustavo Martin Morcuende <gu.martinm@gmail.com>
Mon, 20 Oct 2014 01:28:34 +0000 (03:28 +0200)
app/src/main/java/de/example/exampletdd/WidgetIntentService.java

index fde23b6..f6c3e36 100644 (file)
@@ -265,7 +265,7 @@ public class WidgetIntentService extends IntentService {
                 0,
                 resultIntent,
                 PendingIntent.FLAG_UPDATE_CURRENT);
-        remoteView.setOnClickPendingIntent(R.id.weather_appwidget_error, resultPendingIntent);
+        remoteView.setOnClickPendingIntent(R.id.weather_appwidget, resultPendingIntent);
                
                return remoteView;
        }