[Android] Add setTitle method

Geoffrey Métais git at videolan.org
Thu Mar 12 16:13:06 CET 2015


vlc-ports/android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Thu Mar 12 15:56:44 2015 +0100| [12812b4f1b3bf3124877070670dfaca0669eab72] | committer: Geoffrey Métais

Add setTitle method

> http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commit;h=12812b4f1b3bf3124877070670dfaca0669eab72
---

 vlc-android/src/org/videolan/vlc/MediaWrapper.java |    4 ++++
 1 file changed, 4 insertions(+)

diff --git a/vlc-android/src/org/videolan/vlc/MediaWrapper.java b/vlc-android/src/org/videolan/vlc/MediaWrapper.java
index c633600..fc91ac8 100644
--- a/vlc-android/src/org/videolan/vlc/MediaWrapper.java
+++ b/vlc-android/src/org/videolan/vlc/MediaWrapper.java
@@ -303,6 +303,10 @@ public class MediaWrapper implements Parcelable {
         mIsPictureParsed = isParsed;
     }
 
+    public void setTitle(String title){
+        mTitle = title;
+    }
+
     public String getTitle() {
         if (mTitle != null && mType != TYPE_VIDEO)
             return mTitle;



More information about the Android mailing list