diff --git a/src/android/Context.cxx b/src/android/Context.cxx index 3aa91a487..4d166c6fd 100644 --- a/src/android/Context.cxx +++ b/src/android/Context.cxx @@ -30,8 +30,6 @@ Context::Initialise(JNIEnv *env) noexcept AllocatedPath Context::GetExternalFilesDir(JNIEnv *env, const char *type) noexcept { - assert(type != nullptr); - jobject file = env->CallObjectMethod(Get(), getExternalFilesDir_method, Java::String::Optional(env, type).Get()); if (Java::DiscardException(env) || file == nullptr)