Fixed #48 (Last.fm scrobbling) and refactored a variable name.
This commit is contained in:
parent
dd1778ab3c
commit
774843bbcc
4 changed files with 19 additions and 18 deletions
|
|
@ -132,7 +132,7 @@ public class WidgetMedium extends AppWidgetProvider {
|
|||
pendingIntent = PendingIntent.getActivity(context, 0, action, 0);
|
||||
return pendingIntent;
|
||||
case 1:
|
||||
action = new Intent(MusicService.ACTION_TOGGLE_PLAYBACK);
|
||||
action = new Intent(MusicService.ACTION_TOGGLE_PAUSE);
|
||||
action.setComponent(serviceName);
|
||||
pendingIntent = PendingIntent.getService(context, 1, action, 0);
|
||||
return pendingIntent;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue