android: Context.cxx - in GetExternalFilesDir removed assert type != nullptr
May be null for the root of the files directory.
This commit is contained in:
parent
2fabaa2e95
commit
7fb195bc0b
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user