[Android] Add flags into parcelable data of MediaLibraryItem
Nicolas Pomepuy
git at videolan.org
Tue Oct 6 10:58:46 CEST 2020
vlc-android | branch: 3.3.x | Nicolas Pomepuy <nicolas at videolabs.io> | Thu Oct 1 15:22:26 2020 +0200| [d6f4e7897bd658e6e47935be5a91a5ac1d3f78f5] | committer: Nicolas Pomepuy
Add flags into parcelable data of MediaLibraryItem
(cherry picked from commit 2fff181f2195ea2479b602c4e3b37dd26b5bca04)
> https://code.videolan.org/videolan/vlc-android/commit/d6f4e7897bd658e6e47935be5a91a5ac1d3f78f5
---
medialibrary/src/org/videolan/medialibrary/media/MediaLibraryItem.java | 2 ++
1 file changed, 2 insertions(+)
diff --git a/medialibrary/src/org/videolan/medialibrary/media/MediaLibraryItem.java b/medialibrary/src/org/videolan/medialibrary/media/MediaLibraryItem.java
index 8988f0bde..bebea939d 100644
--- a/medialibrary/src/org/videolan/medialibrary/media/MediaLibraryItem.java
+++ b/medialibrary/src/org/videolan/medialibrary/media/MediaLibraryItem.java
@@ -105,11 +105,13 @@ public abstract class MediaLibraryItem implements Parcelable {
public void writeToParcel(Parcel parcel, int i) {
parcel.writeLong(mId);
parcel.writeString(mTitle);
+ parcel.writeInt(mFlags);
}
protected MediaLibraryItem(Parcel in) {
mId = in.readLong();
mTitle = in.readString();
+ mFlags = in.readInt();
}
@Override
More information about the Android
mailing list