Commit ca5d10a7 authored by Filipe de Lima Brito's avatar Filipe de Lima Brito

Add TODO.

parent 6bf0e0d8
...@@ -29,7 +29,7 @@ object LayoutHelper { ...@@ -29,7 +29,7 @@ object LayoutHelper {
childOfContent.viewTreeObserver.addOnGlobalLayoutListener({ resizeChildOfContent() }) childOfContent.viewTreeObserver.addOnGlobalLayoutListener({ resizeChildOfContent() })
frameLayoutParams = childOfContent.layoutParams as FrameLayout.LayoutParams frameLayoutParams = childOfContent.layoutParams as FrameLayout.LayoutParams
} catch (exception : ClassCastException) { } catch (exception : ClassCastException) {
// TODO: are we using the android.util.Log for logging that type of errors? // TODO: are we using the android.util.Log for logging that type of errors? or should we use the SDK logger?
Log.e("ERROR", exception.message) Log.e("ERROR", exception.message)
} }
} }
......
...@@ -108,6 +108,7 @@ object ColorImage { ...@@ -108,6 +108,7 @@ object ColorImage {
// Return the CloseableImage // Return the CloseableImage
return CloseableColorImage(color) return CloseableColorImage(color)
} catch (e: IOException) { } catch (e: IOException) {
// TODO: are we using the android.util.Log for logging that type of errors? or should we use the SDK logger?
e.printStackTrace() e.printStackTrace()
} }
// Return nothing if an error occurred // Return nothing if an error occurred
......
...@@ -79,6 +79,7 @@ object SvgDecoder { ...@@ -79,6 +79,7 @@ object SvgDecoder {
val svg = SVG.getFromInputStream(encodedImage.inputStream) val svg = SVG.getFromInputStream(encodedImage.inputStream)
return CloseableSvgImage(svg) return CloseableSvgImage(svg)
} catch (e: SVGParseException) { } catch (e: SVGParseException) {
// TODO: are we using the android.util.Log for logging that type of errors? or should we use the SDK logger?
e.printStackTrace() e.printStackTrace()
} }
// Return nothing if an error occurred // Return nothing if an error occurred
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment