[Android] Fix typo

Geoffrey Métais git at videolan.org
Mon Dec 14 10:34:48 CET 2015


vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Mon Dec 14 10:30:17 2015 +0100| [c2c96995a976100aee851cb00d12af1b2ca98aaa] | committer: Geoffrey Métais

Fix typo

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

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

diff --git a/vlc-android/src/org/videolan/vlc/gui/browser/BaseBrowserAdapter.java b/vlc-android/src/org/videolan/vlc/gui/browser/BaseBrowserAdapter.java
index 2ace1ec..41811fa 100644
--- a/vlc-android/src/org/videolan/vlc/gui/browser/BaseBrowserAdapter.java
+++ b/vlc-android/src/org/videolan/vlc/gui/browser/BaseBrowserAdapter.java
@@ -109,7 +109,7 @@ public class BaseBrowserAdapter extends  RecyclerView.Adapter<RecyclerView.ViewH
         vh.binding.setMedia(media);
         vh.binding.setHasContextMenu(hasContextMenu);
         vh.binding.setType(TYPE_MEDIA);
-        vh.binding.setProtocole(getProtocole(media));
+        vh.binding.setProtocole(getProtocol(media));
         vh.binding.executePendingBindings();
 
         vh.icon.setBackgroundResource(getIconResId(media));
@@ -294,7 +294,7 @@ public class BaseBrowserAdapter extends  RecyclerView.Adapter<RecyclerView.ViewH
                 return R.drawable.ic_browser_unknown_normal;
         }
     }
-    protected String getProtocole(MediaWrapper media) {
+    protected String getProtocol(MediaWrapper media) {
         if (!fragment.isRootDirectory() || !(fragment instanceof NetworkBrowserFragment))
             return null;
         if (media.getType() != MediaWrapper.TYPE_DIR)



More information about the Android mailing list