[Android] Hide protocole if server provides an icon
Geoffrey Métais
git at videolan.org
Thu Mar 3 19:16:36 CET 2016
vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Thu Mar 3 18:24:02 2016 +0100| [97e3238c8ca3a5253cbc1ba18fd2fbc6b1da8908] | committer: Geoffrey Métais
Hide protocole if server provides an icon
> https://code.videolan.org/videolan/vlc-android/commit/97e3238c8ca3a5253cbc1ba18fd2fbc6b1da8908
---
vlc-android/src/org/videolan/vlc/util/HttpImageLoader.java | 1 +
1 file changed, 1 insertion(+)
diff --git a/vlc-android/src/org/videolan/vlc/util/HttpImageLoader.java b/vlc-android/src/org/videolan/vlc/util/HttpImageLoader.java
index be9139f..eecf6ff 100644
--- a/vlc-android/src/org/videolan/vlc/util/HttpImageLoader.java
+++ b/vlc-android/src/org/videolan/vlc/util/HttpImageLoader.java
@@ -123,6 +123,7 @@ public class HttpImageLoader implements Callbacks {
return;
mBinding.setVariable(BR.scaleType, ImageView.ScaleType.FIT_CENTER);
mBinding.setVariable(BR.image, new BitmapDrawable(VLCApplication.getAppResources(), bitmap));
+ mBinding.setVariable(BR.protocole, null);
}
}
} else if (bitmap != null && (bitmap.getWidth() != 1 && bitmap.getHeight() != 1)) {
More information about the Android
mailing list