SDL: android: fix android.content.Context:getCacheDir JNI prototype

From 0bec18245dacd213f2ca71fdb5f617a281a2725a Mon Sep 17 00:00:00 2001
From: Anonymous Maarten <[EMAIL REDACTED]>
Date: Tue, 22 Oct 2024 18:03:34 +0200
Subject: [PATCH] android: fix android.content.Context:getCacheDir JNI
 prototype

---
 src/core/android/SDL_android.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/core/android/SDL_android.c b/src/core/android/SDL_android.c
index 78d8b71941e1c..904237a2b47aa 100644
--- a/src/core/android/SDL_android.c
+++ b/src/core/android/SDL_android.c
@@ -2400,7 +2400,7 @@ const char *SDL_GetAndroidCachePath(void)
 
         // fileObj = context.getExternalFilesDir();
         mid = (*env)->GetMethodID(env, (*env)->GetObjectClass(env, context),
-                                  "getCacheDir", "(Ljava/lang/String;)Ljava/io/File;");
+                                  "getCacheDir", "()Ljava/io/File;");
         fileObject = (*env)->CallObjectMethod(env, context, mid, NULL);
         if (!fileObject) {
             SDL_SetError("Couldn't get cache directory");