Skip to content

Commit

Permalink
Make AnimatedDrawable2 & KAnimatedDrawable2 class open (#2816)
Browse files Browse the repository at this point in the history
Summary: Pull Request resolved: #2816

Reviewed By: Abbondanzo

Differential Revision: D66536610

Pulled By: oprisnik

fbshipit-source-id: 864e7c36c00f5c1903b584174c69b3f917ffe292
  • Loading branch information
jielun authored and facebook-github-bot committed Nov 27, 2024
1 parent aade8e8 commit 76bde19
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import kotlin.math.max
/**
* Experimental new animated drawable that uses a supplied [AnimationBackend] for drawing frames.
*/
class AnimatedDrawable2
open class AnimatedDrawable2
@JvmOverloads
constructor(private var _animationBackend: AnimationBackend? = null) :
Drawable(), Animatable, DrawableWithCaches {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import com.facebook.fresco.animation.backend.AnimationBackend
import com.facebook.fresco.animation.frame.DropFramesFrameScheduler
import com.facebook.fresco.animation.frame.FrameScheduler

class KAnimatedDrawable2(private var animationBackend: AnimationBackend) :
open class KAnimatedDrawable2(private var animationBackend: AnimationBackend) :
Drawable(), Animatable, DrawableWithCaches {

private val animatedFrameScheduler =
Expand Down

0 comments on commit 76bde19

Please sign in to comment.