From 6be2cb1d00cad21412543270b84e7db4093f6f22 Mon Sep 17 00:00:00 2001 From: JarvanMo Date: Thu, 6 Aug 2020 14:55:03 +0800 Subject: [PATCH] fix issue --- android/src/main/kotlin/com/jarvan/fluwx/io/ByteArrayToFile.kt | 1 + android/src/main/kotlin/com/jarvan/fluwx/io/ImagesIO.kt | 1 + 2 files changed, 2 insertions(+) diff --git a/android/src/main/kotlin/com/jarvan/fluwx/io/ByteArrayToFile.kt b/android/src/main/kotlin/com/jarvan/fluwx/io/ByteArrayToFile.kt index 71008042..a073bd95 100644 --- a/android/src/main/kotlin/com/jarvan/fluwx/io/ByteArrayToFile.kt +++ b/android/src/main/kotlin/com/jarvan/fluwx/io/ByteArrayToFile.kt @@ -6,6 +6,7 @@ import kotlinx.coroutines.Dispatchers import kotlinx.coroutines.withContext import okio.* import java.io.* +import java.io.IOException import java.util.* /*** diff --git a/android/src/main/kotlin/com/jarvan/fluwx/io/ImagesIO.kt b/android/src/main/kotlin/com/jarvan/fluwx/io/ImagesIO.kt index ff3be5eb..c5a9021e 100644 --- a/android/src/main/kotlin/com/jarvan/fluwx/io/ImagesIO.kt +++ b/android/src/main/kotlin/com/jarvan/fluwx/io/ImagesIO.kt @@ -9,6 +9,7 @@ import kotlinx.coroutines.withContext import okio.* import top.zibin.luban.Luban import java.io.* +import java.io.IOException import java.util.* import kotlin.math.sqrt