Set widget update interval to 1 second
This commit is contained in:
parent
b2ee91aea2
commit
d0a9adeaf6
|
@ -888,7 +888,7 @@ public class PlaybackService extends Service {
|
||||||
/** Notifies the player widget in the specified intervall */
|
/** Notifies the player widget in the specified intervall */
|
||||||
class WidgetUpdateWorker extends AsyncTask<Void, Void, Void> {
|
class WidgetUpdateWorker extends AsyncTask<Void, Void, Void> {
|
||||||
private static final String TAG = "WidgetUpdateWorker";
|
private static final String TAG = "WidgetUpdateWorker";
|
||||||
private static final int NOTIFICATION_INTERVALL = 2000;
|
private static final int NOTIFICATION_INTERVALL = 1000;
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected void onProgressUpdate(Void... values) {
|
protected void onProgressUpdate(Void... values) {
|
||||||
|
|
Loading…
Reference in New Issue