[Android] Fix typo

Nicolas Pomepuy git at videolan.org
Fri Apr 24 14:50:04 CEST 2020


vlc-android | branch: master | Nicolas Pomepuy <nicolas at videolabs.io> | Fri Apr 24 09:12:47 2020 +0200| [bb15420f55b4e33d695ca662b23419bdae69bd00] | committer: Geoffrey Métais

Fix typo

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

 medialibrary/jni/AndroidMediaLibrary.cpp                            | 2 +-
 medialibrary/jni/AndroidMediaLibrary.h                              | 2 +-
 medialibrary/jni/medialibrary.cpp                                   | 6 +++---
 .../src/org/videolan/medialibrary/media/VideoGroupImpl.java         | 4 ++--
 4 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/medialibrary/jni/AndroidMediaLibrary.cpp b/medialibrary/jni/AndroidMediaLibrary.cpp
index 096879f0b..85bc54ea4 100644
--- a/medialibrary/jni/AndroidMediaLibrary.cpp
+++ b/medialibrary/jni/AndroidMediaLibrary.cpp
@@ -550,7 +550,7 @@ AndroidMediaLibrary::groupRemoveId( const int64_t groupId, const int64_t mediaId
 }
 
 std::string
-AndroidMediaLibrary::groupeName( const int64_t groupId )
+AndroidMediaLibrary::groupName( const int64_t groupId )
 {
     const medialibrary::MediaGroupPtr group = p_ml->mediaGroup(groupId);
     return group == nullptr ? nullptr : group->name();
diff --git a/medialibrary/jni/AndroidMediaLibrary.h b/medialibrary/jni/AndroidMediaLibrary.h
index b4d0f0c0c..fc437bde1 100644
--- a/medialibrary/jni/AndroidMediaLibrary.h
+++ b/medialibrary/jni/AndroidMediaLibrary.h
@@ -108,7 +108,7 @@ public:
     medialibrary::MediaGroupPtr videoGroup( const int64_t groupId );
     bool groupAddId( const int64_t groupId, const int64_t mediaId );
     bool groupRemoveId( const int64_t groupId, const int64_t mediaId );
-    std::string groupeName( const int64_t groupId );
+    std::string groupName( const int64_t groupId );
     bool groupRename( const int64_t groupId, const std::string& name );
     bool groupUserInteracted(const int64_t groupId );
     int64_t groupDuration(const int64_t groupId );
diff --git a/medialibrary/jni/medialibrary.cpp b/medialibrary/jni/medialibrary.cpp
index b7ad974b3..bf5e02648 100644
--- a/medialibrary/jni/medialibrary.cpp
+++ b/medialibrary/jni/medialibrary.cpp
@@ -1878,9 +1878,9 @@ groupRemoveId(JNIEnv* env, jobject thiz, jobject medialibrary, jlong id, jlong m
 }
 
 jstring
-groupeName(JNIEnv* env, jobject thiz, jobject medialibrary, jlong id)
+groupName(JNIEnv* env, jobject thiz, jobject medialibrary, jlong id)
 {
-    return env->NewStringUTF(MediaLibrary_getInstance(env, medialibrary)->groupeName(id).c_str());
+    return env->NewStringUTF(MediaLibrary_getInstance(env, medialibrary)->groupName(id).c_str());
 }
 
 jboolean
@@ -2099,7 +2099,7 @@ static JNINativeMethod videogroup_methods[] = {
     {"nativeGetSearchCount", "(Lorg/videolan/medialibrary/interfaces/Medialibrary;JLjava/lang/String;)I", (void*)getSearchFromvideoGroupCount },
     {"nativeGroupAddId", "(Lorg/videolan/medialibrary/interfaces/Medialibrary;JJ)Z", (void*)groupAddId },
     {"nativeGroupRemoveId", "(Lorg/videolan/medialibrary/interfaces/Medialibrary;JJ)Z", (void*)groupRemoveId },
-    {"nativeGroupeName", "(Lorg/videolan/medialibrary/interfaces/Medialibrary;J)Ljava/lang/String;", (void*)groupeName },
+    {"nativeGroupName", "(Lorg/videolan/medialibrary/interfaces/Medialibrary;J)Ljava/lang/String;", (void*)groupName },
     {"nativeGroupRename", "(Lorg/videolan/medialibrary/interfaces/Medialibrary;JLjava/lang/String;)Z", (void*)groupRename },
     {"nativeGroupUserInteracted", "(Lorg/videolan/medialibrary/interfaces/Medialibrary;J)Z", (void*)groupUserInteracted },
     {"nativeGroupDuration", "(Lorg/videolan/medialibrary/interfaces/Medialibrary;J)J", (void*)groupDuration },
diff --git a/medialibrary/src/org/videolan/medialibrary/media/VideoGroupImpl.java b/medialibrary/src/org/videolan/medialibrary/media/VideoGroupImpl.java
index b5119c3c0..a2917eae4 100644
--- a/medialibrary/src/org/videolan/medialibrary/media/VideoGroupImpl.java
+++ b/medialibrary/src/org/videolan/medialibrary/media/VideoGroupImpl.java
@@ -58,7 +58,7 @@ public class VideoGroupImpl extends VideoGroup {
     @Nullable
     public String getName() {
         final Medialibrary ml = Medialibrary.getInstance();
-        return ml.isInitiated() ? nativeGroupeName(ml, mId) : null;
+        return ml.isInitiated() ? nativeGroupName(ml, mId) : null;
     }
 
     @Override
@@ -92,7 +92,7 @@ public class VideoGroupImpl extends VideoGroup {
     private native int nativeGetSearchCount(Medialibrary ml, long id, String query);
     private native boolean nativeGroupAddId(Medialibrary ml, long id, long mediaId);
     private native boolean nativeGroupRemoveId(Medialibrary ml, long id, long mediaId);
-    private native String nativeGroupeName(Medialibrary ml, long id);
+    private native String nativeGroupName(Medialibrary ml, long id);
     private native boolean nativeGroupRename(Medialibrary ml, long id, String name);
     private native boolean nativeGroupUserInteracted(Medialibrary ml, long id);
     private native long nativeGroupDuration(Medialibrary ml, long id);



More information about the Android mailing list