aboutsummaryrefslogtreecommitdiff
path: root/src/github
diff options
context:
space:
mode:
authorScott Jackson <daneren2005@gmail.com>2015-02-03 15:47:52 -0800
committerScott Jackson <daneren2005@gmail.com>2015-02-03 15:47:52 -0800
commit15f252bd8f956ee82e1b64e558dfc3d36f292ff5 (patch)
tree3e1fd833746f3d4233f9d1f4b0864327bc150e5b /src/github
parent29b4fa7f77104b86f04c4db576caab6fa8d5f049 (diff)
downloaddsub-15f252bd8f956ee82e1b64e558dfc3d36f292ff5.tar.gz
dsub-15f252bd8f956ee82e1b64e558dfc3d36f292ff5.tar.bz2
dsub-15f252bd8f956ee82e1b64e558dfc3d36f292ff5.zip
Fix freshly created widget not updating with new info
Diffstat (limited to 'src/github')
-rw-r--r--src/github/daneren2005/dsub/provider/DSubWidgetProvider.java4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/github/daneren2005/dsub/provider/DSubWidgetProvider.java b/src/github/daneren2005/dsub/provider/DSubWidgetProvider.java
index f4c3656c..0bf0fe9d 100644
--- a/src/github/daneren2005/dsub/provider/DSubWidgetProvider.java
+++ b/src/github/daneren2005/dsub/provider/DSubWidgetProvider.java
@@ -36,7 +36,6 @@ import android.graphics.Rect;
import android.graphics.RectF;
import android.os.Environment;
import android.util.Log;
-import android.view.KeyEvent;
import android.view.View;
import android.widget.RemoteViews;
import github.daneren2005.dsub.R;
@@ -44,7 +43,6 @@ import github.daneren2005.dsub.activity.DownloadActivity;
import github.daneren2005.dsub.activity.SubsonicActivity;
import github.daneren2005.dsub.activity.SubsonicFragmentActivity;
import github.daneren2005.dsub.domain.MusicDirectory;
-import github.daneren2005.dsub.service.DownloadFile;
import github.daneren2005.dsub.service.DownloadService;
import github.daneren2005.dsub.service.DownloadServiceLifecycleSupport;
import github.daneren2005.dsub.util.Constants;
@@ -115,7 +113,7 @@ public class DSubWidgetProvider extends AppWidgetProvider {
}
linkButtons(context, views, false);
- pushUpdate(context, appWidgetIds, views);
+ performUpdate(context, null, appWidgetIds, false);
}
private void pushUpdate(Context context, int[] appWidgetIds, RemoteViews views) {