Merge pull request #267 from nitehu/fix/share-playlist

Fixed missing Extra from Intent when selecting a Playlist Item.
This commit is contained in:
Óscar García Amor 2020-03-23 10:01:13 +01:00 committed by GitHub
commit bbb92b19d4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -238,6 +238,7 @@ public class SelectPlaylistActivity extends SubsonicTabActivity implements Adapt
} }
Intent intent = new Intent(SelectPlaylistActivity.this, SelectAlbumActivity.class); Intent intent = new Intent(SelectPlaylistActivity.this, SelectAlbumActivity.class);
intent.putExtra(Constants.INTENT_EXTRA_NAME_ID, playlist.getId());
intent.putExtra(Constants.INTENT_EXTRA_NAME_PLAYLIST_ID, playlist.getId()); intent.putExtra(Constants.INTENT_EXTRA_NAME_PLAYLIST_ID, playlist.getId());
intent.putExtra(Constants.INTENT_EXTRA_NAME_PLAYLIST_NAME, playlist.getName()); intent.putExtra(Constants.INTENT_EXTRA_NAME_PLAYLIST_NAME, playlist.getName());
startActivityForResultWithoutTransition(SelectPlaylistActivity.this, intent); startActivityForResultWithoutTransition(SelectPlaylistActivity.this, intent);