Skip to content

Commit a1e33f1

Browse files
remove log decoded
1 parent 75cdf4c commit a1e33f1

1 file changed

Lines changed: 0 additions & 17 deletions

File tree

packages/react-native-nitro-image/android/src/main/java/com/margelo/nitro/image/HybridImageFactory.kt

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -206,23 +206,6 @@ mageSpec> {
206206
return max(1, inSampleSize)
207207
}
208208

209-
private fun logDecoded(
210-
cleanPath: String,
211-
bitmap: Bitmap?,
212-
targetWidth: Int,
213-
targetHeight: Int
214-
) {
215-
if (bitmap == null) {
216-
return
217-
}
218-
219-
Log.d(
220-
TAG,
221-
"decoded file=$cleanPath width=${bitmap.width} height=${bitmap.height} " +
222-
"bytes=${bitmap.allocationByteCount} target=${targetWidth}x${targetHeight}"
223-
)
224-
}
225-
226209
private fun loadFromThumbHash(thumbHashBytes: ByteArray): HybridImage {
227210
val rgba = ThumbHash.thumbHashToRGBA(thumbHashBytes)
228211

0 commit comments

Comments
 (0)