1
0
Fork 0
forked from len0rd/rockbox

Ask for track information to be resent after creating a new widget.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29553 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Antoine Cellerier 2011-03-09 18:46:55 +00:00
parent 64cf0dd765
commit fd7375c307
5 changed files with 33 additions and 7 deletions

View file

@ -106,6 +106,14 @@ public class RockboxService extends Service
private void do_start(Intent intent)
{
LOG("Start RockboxService (Intent: " + intent.getAction() + ")");
if (intent.getAction().equals("org.rockbox.ResendTrackUpdateInfo"))
{
if (rockbox_running)
fg_runner.resendUpdateNotification();
return;
}
if (intent.hasExtra("callback"))
resultReceiver = (ResultReceiver) intent.getParcelableExtra("callback");