diff --git a/src/android/Context.cxx b/src/android/Context.cxx index ebeda6ec4..45bf0a347 100644 --- a/src/android/Context.cxx +++ b/src/android/Context.cxx @@ -46,7 +46,7 @@ Context::Initialise(JNIEnv *env) noexcept AllocatedPath Context::GetExternalFilesDir(JNIEnv *env, const char *type) noexcept { - assert(_type != nullptr); + assert(type != nullptr); jobject file = env->CallObjectMethod(Get(), getExternalFilesDir_method, Java::String::Optional(env, type).Get());