Skip to content

Commit

Permalink
Fixed an issue where the notification PendingIntent wasn't updated wh…
Browse files Browse the repository at this point in the history
…en the notification was
  • Loading branch information
brianwernick committed Jan 20, 2016
1 parent 53ac8ec commit b8a0689
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ The latest AAR (Android Archive) files can be downloaded from JCenter [ExoMedia]
Or included in your gradle dependencies

```groovy
compile 'com.devbrackets.android:exomedia:2.5.1'
compile 'com.devbrackets.android:exomedia:2.5.2'
```

Example
Expand Down
2 changes: 1 addition & 1 deletion library/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ apply plugin: 'bintray-release'

def versionMajor = 2
def versionMinor = 5
def versionPatch = 1
def versionPatch = 2

def libraryGroupId = 'com.devbrackets.android'
def libraryBaseName = 'exomedia'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -628,9 +628,8 @@ protected void performShuffle() {

/**
* Performs the functionality for when a media item
* has finished playback. By default the completion
* will seek to the next available media item. This is
* called from the Audio listener.
* has finished playback. By default no functionality
* is performed
*/
protected void performMediaCompletion() {
//Left for the extending class to implement
Expand Down Expand Up @@ -1120,6 +1119,7 @@ protected void updateNotification() {
String title = currentPlaylistItem.getTitle();
String album = currentPlaylistItem.getAlbum();
String artist = currentPlaylistItem.getArtist();
notificationHelper.setClickPendingIntent(getNotificationClickPendingIntent());
notificationHelper.updateNotificationInformation(title, album, artist, bitmap, secondaryImage, mediaState);
}

Expand Down

0 comments on commit b8a0689

Please sign in to comment.