[Android] Fix typo

Geoffrey Métais git at videolan.org
Tue Feb 9 16:14:28 CET 2016


vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Tue Feb  9 16:12:27 2016 +0100| [3932b4207afe19727fdf2120157586bb379da966] | committer: Geoffrey Métais

Fix typo

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

 vlc-android/src/org/videolan/vlc/gui/tv/RecommendationsService.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/vlc-android/src/org/videolan/vlc/gui/tv/RecommendationsService.java b/vlc-android/src/org/videolan/vlc/gui/tv/RecommendationsService.java
index 1359666..786e50d 100644
--- a/vlc-android/src/org/videolan/vlc/gui/tv/RecommendationsService.java
+++ b/vlc-android/src/org/videolan/vlc/gui/tv/RecommendationsService.java
@@ -49,7 +49,7 @@ import java.util.Collections;
 public class RecommendationsService extends IntentService {
 
     private static final String TAG = "VLC/RecommendationsService";
-    private static final int NUM_RECOMMANDATIONS = 3;
+    private static final int MAX_RECOMMENDATIONS = 3;
 
     private NotificationManager mNotificationManager;
     private MediaDatabase mMediaDatabase = MediaDatabase.getInstance();
@@ -148,7 +148,7 @@ public class RecommendationsService extends IntentService {
             if (pic != null && pic.getByteCount() > 4 && mediaWrapper.getTime() == 0) {
                 buildRecommendation(mediaWrapper, ++id, Notification.PRIORITY_DEFAULT);
             }
-            if (id == NUM_RECOMMANDATIONS)
+            if (id == MAX_RECOMMENDATIONS)
                 break;
         }
         return true;



More information about the Android mailing list