Merge pull request #2954 from gmasil/fix-static-webp-produce-high-cpu-usage
fix bug where static webp images will cause high CPU usage
This commit is contained in:
commit
c3778e36c6
|
@ -435,7 +435,6 @@ class PhotoFragment : ViewPagerFragment() {
|
|||
if (drawable.intrinsicWidth == 0) {
|
||||
loadWithGlide(path, addZoomableView)
|
||||
} else {
|
||||
drawable.setLoopLimit(0)
|
||||
mView.gestures_view.setImageDrawable(drawable)
|
||||
}
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue