[Android] Add Mediawrapper.setTime() method
Geoffrey Métais
git at videolan.org
Tue Oct 3 18:36:00 CEST 2017
vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Tue Oct 3 18:31:03 2017 +0200| [67bea9149c2cf73f05522f9a9b0d699e857f9210] | committer: Geoffrey Métais
Add Mediawrapper.setTime() method
> https://code.videolan.org/videolan/vlc-android/commit/67bea9149c2cf73f05522f9a9b0d699e857f9210
---
medialibrary/src/org/videolan/medialibrary/media/MediaWrapper.java | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/medialibrary/src/org/videolan/medialibrary/media/MediaWrapper.java b/medialibrary/src/org/videolan/medialibrary/media/MediaWrapper.java
index 3d8aecb52..de8e18c22 100644
--- a/medialibrary/src/org/videolan/medialibrary/media/MediaWrapper.java
+++ b/medialibrary/src/org/videolan/medialibrary/media/MediaWrapper.java
@@ -397,6 +397,10 @@ public class MediaWrapper extends MediaLibraryItem implements Parcelable {
return mLength;
}
+ public void setLength(long length) {
+ mLength = length;
+ }
+
public int getType() {
return mType;
}
More information about the Android
mailing list