diff --git a/platform/android/llapp_main.lua b/platform/android/llapp_main.lua index cefd10e1a..907f3bc91 100644 --- a/platform/android/llapp_main.lua +++ b/platform/android/llapp_main.lua @@ -29,7 +29,10 @@ local file = A.jni:context(A.app.activity.vm, function(JNI) return JNI:to_string(path) end end) -A.LOGI("intent file path " .. (file or "")) + +if file ~= nil then + A.LOGI("intent file path " .. file) +end -- update koreader from ota local function update()