[Android] Remove dead code

Geoffrey Métais git at videolan.org
Tue Feb 5 15:31:10 CET 2019


vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Tue Feb  5 15:22:56 2019 +0100| [b84b4f121e2669a40c7f6a92282f300b3170fde5] | committer: Geoffrey Métais

Remove dead code

> https://code.videolan.org/videolan/vlc-android/commit/b84b4f121e2669a40c7f6a92282f300b3170fde5
---

 vlc-android/src/org/videolan/vlc/gui/helpers/AudioUtil.java | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/vlc-android/src/org/videolan/vlc/gui/helpers/AudioUtil.java b/vlc-android/src/org/videolan/vlc/gui/helpers/AudioUtil.java
index d91dcb49d..f43dc0b32 100644
--- a/vlc-android/src/org/videolan/vlc/gui/helpers/AudioUtil.java
+++ b/vlc-android/src/org/videolan/vlc/gui/helpers/AudioUtil.java
@@ -357,8 +357,7 @@ public class AudioUtil {
                     if (cacheFile.length() > 0)
                         coverPath = cachePath;
                 }
-            } else
-
+            }
             // try to get it from VLC
             if (coverPath == null || !cacheFile.exists())
                 coverPath = getCoverFromVlc(context, media);
@@ -379,7 +378,6 @@ public class AudioUtil {
                 writeBitmap(cover, cachePath);
                 cache.addBitmapToMemCache(cachePath, cover);
             }
-
         } catch (Exception e) {
             e.printStackTrace();
         }



More information about the Android mailing list