From dbea29b1396a197d231884089a25b97f95b3954b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mart=C3=ADn=20Fern=C3=A1ndez?= Date: Sat, 29 Dec 2018 20:48:19 +0100 Subject: [PATCH] do not print intent file path if file == nil --- platform/android/llapp_main.lua | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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()