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
1 changed files with 0 additions and 1 deletions
|
@ -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 a new issue