|
@@ -8,12 +8,10 @@ import android.content.Intent
|
|
|
import android.os.IBinder
|
|
|
import android.util.Log
|
|
|
import android.widget.RemoteViews
|
|
|
-import android.widget.TextView
|
|
|
import com.android.volley.Request
|
|
|
import com.android.volley.Response
|
|
|
import com.android.volley.toolbox.StringRequest
|
|
|
import com.android.volley.toolbox.Volley
|
|
|
-import java.util.*
|
|
|
|
|
|
|
|
|
class UpdateWidgetService : Service() {
|
|
@@ -59,6 +57,7 @@ class UpdateWidgetService : Service() {
|
|
|
)
|
|
|
remoteViews.setOnClickPendingIntent(R.id.appwidget_text, pendingIntent)
|
|
|
}
|
|
|
+
|
|
|
stopSelf()
|
|
|
super.onStart(intent, startId)
|
|
|
}
|