summaryrefslogtreecommitdiff
path: root/src/android/Context.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/android/Context.cxx')
-rw-r--r--src/android/Context.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/android/Context.cxx b/src/android/Context.cxx
index 8964286f4..4d81180fb 100644
--- a/src/android/Context.cxx
+++ b/src/android/Context.cxx
@@ -36,7 +36,7 @@ Context::GetCacheDir(JNIEnv *env) const
jobject file = env->CallObjectMethod(Get(), method);
if (file == nullptr) {
env->ExceptionClear();
- return AllocatedPath::Null();
+ return nullptr;
}
return Java::File::ToAbsolutePath(env, file);