commit | 78487c6a108a808ca77703d5614d3711ff2db5e2 | [log] [tgz] |
---|---|---|
author | Daniele Conti <fourlastor@users.noreply.github.com> | Mon Oct 31 21:40:48 2022 +0000 |
committer | GitHub <noreply@github.com> | Mon Oct 31 14:40:48 2022 -0700 |
tree | 4ae8b9f5da5e6ba9d58000a6b6059740950634ba | |
parent | c553ad392e62f29de7045f4e5c9ed116d951c454 [diff] |
Update documentation to be in line with behavior (#2152) This PR updates the javadoc of `LottieAnimationView#setRenderMode` to be in line with the [implementation](https://github.com/airbnb/lottie-android/blob/c553ad392e62f29de7045f4e5c9ed116d951c454/lottie/src/main/java/com/airbnb/lottie/RenderMode.java#L27-L34)
diff --git a/lottie/src/main/java/com/airbnb/lottie/LottieAnimationView.java b/lottie/src/main/java/com/airbnb/lottie/LottieAnimationView.java index 53d05ae..6d6cd45 100644 --- a/lottie/src/main/java/com/airbnb/lottie/LottieAnimationView.java +++ b/lottie/src/main/java/com/airbnb/lottie/LottieAnimationView.java
@@ -1022,7 +1022,7 @@ * Call this to set whether or not to render with hardware or software acceleration. * Lottie defaults to Automatic which will use hardware acceleration unless: * 1) There are dash paths and the device is pre-Pie. - * 2) There are more than 4 masks and mattes and the device is pre-Pie. + * 2) There are more than 4 masks and mattes. * Hardware acceleration is generally faster for those devices unless * there are many large mattes and masks in which case there is a lot * of GPU uploadTexture thrashing which makes it much slower.