When too large a Lottie asset was declared, the Android platform was throwing an excess size runtime exception that would escape the Lottie library and crash the app. Catching RuntimeExceptions solved this problem.
This was originally tested successfully in 6.0.0. Should I submit this as a PR? Unfortunately I no longer have a good test for this at hand. However I would love to get this patch applied.
https://github.com/airbnb/lottie-android/blob/ae041af0f010523b5df68a5e6a8e3e5043f2054f/lottie/src/main/java/com/airbnb/lottie/model/layer/ImageLayer.java#L57
When too large a Lottie asset was declared, the Android platform was throwing an excess size runtime exception that would escape the Lottie library and crash the app. Catching RuntimeExceptions solved this problem.
This was originally tested successfully in 6.0.0. Should I submit this as a PR? Unfortunately I no longer have a good test for this at hand. However I would love to get this patch applied.