[Android] Refactor type variable
Geoffrey Métais
git at videolan.org
Mon Dec 21 17:22:00 CET 2015
vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Fri Dec 18 15:29:09 2015 +0100| [d5514c7a6ddaae4934ecfb1bb7d96d6d6fc07839] | committer: Geoffrey Métais
Refactor type variable
> https://code.videolan.org/videolan/vlc-android/commit/d5514c7a6ddaae4934ecfb1bb7d96d6d6fc07839
---
.../java/org/videolan/vlc/plugin/api/VLCExtensionItem.java | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/api/src/main/java/org/videolan/vlc/plugin/api/VLCExtensionItem.java b/api/src/main/java/org/videolan/vlc/plugin/api/VLCExtensionItem.java
index 9069cd9..285744c 100644
--- a/api/src/main/java/org/videolan/vlc/plugin/api/VLCExtensionItem.java
+++ b/api/src/main/java/org/videolan/vlc/plugin/api/VLCExtensionItem.java
@@ -44,16 +44,16 @@ public class VLCExtensionItem implements Parcelable {
//TODO choose how to deal with icons
public String imageLink; // for content provider
- public int iconType; // Using VLC icons. maybe with iconRes?
+ public int type; // Using VLC icons. maybe with iconRes?
- public VLCExtensionItem(String stringId, int intId, String link, String title, String subTitle, String imageLink, int iconType) {
+ public VLCExtensionItem(String stringId, int intId, String link, String title, String subTitle, String imageLink, int type) {
this.stringId = stringId;
this.intId = intId;
this.link = link;
this.title = title;
this.subTitle = subTitle;
this.imageLink = imageLink;
- this.iconType = iconType;
+ this.type = type;
}
public VLCExtensionItem() {
@@ -86,7 +86,7 @@ public class VLCExtensionItem implements Parcelable {
dest.writeString(title);
dest.writeString(subTitle);
dest.writeString(imageLink);
- dest.writeInt(iconType);
+ dest.writeInt(type);
}
public void readFromParcel(Parcel in) {
@@ -96,6 +96,6 @@ public class VLCExtensionItem implements Parcelable {
title = in.readString();
subTitle = in.readString();
imageLink = in.readString();
- iconType = in.readInt();
+ type = in.readInt();
}
}
More information about the Android
mailing list