[Android] Use writeString instead of writeValue
Geoffrey Métais
git at videolan.org
Mon Mar 16 15:58:30 CET 2015
vlc-ports/android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Mon Mar 16 14:55:53 2015 +0100| [3d6c55c137fc2e56e558c095974c854c519be4b8] | committer: Geoffrey Métais
Use writeString instead of writeValue
> http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commit;h=3d6c55c137fc2e56e558c095974c854c519be4b8
---
vlc-android/src/org/videolan/vlc/MediaWrapper.java | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/vlc-android/src/org/videolan/vlc/MediaWrapper.java b/vlc-android/src/org/videolan/vlc/MediaWrapper.java
index 95de3a8..fc38cb7 100644
--- a/vlc-android/src/org/videolan/vlc/MediaWrapper.java
+++ b/vlc-android/src/org/videolan/vlc/MediaWrapper.java
@@ -439,19 +439,19 @@ public class MediaWrapper implements Parcelable {
@Override
public void writeToParcel(Parcel dest, int flags) {
- dest.writeValue(getLocation());
+ dest.writeString(getLocation());
dest.writeLong(getTime());
dest.writeLong(getLength());
dest.writeInt(getType());
dest.writeParcelable(getPicture(), flags);
- dest.writeValue(getTitle());
- dest.writeValue(getArtist());
- dest.writeValue(getGenre());
- dest.writeValue(getAlbum());
- dest.writeValue(getAlbumArtist());
+ dest.writeString(getTitle());
+ dest.writeString(getArtist());
+ dest.writeString(getGenre());
+ dest.writeString(getAlbum());
+ dest.writeString(getAlbumArtist());
dest.writeInt(getWidth());
dest.writeInt(getHeight());
- dest.writeValue(getArtworkURL());
+ dest.writeString(getArtworkURL());
dest.writeInt(getAudioTrack());
dest.writeInt(getSpuTrack());
dest.writeInt(getTrackNumber());
More information about the Android
mailing list