Skip to content

Commit

Permalink
Stop GIFs started in GifDrawableTest.
Browse files Browse the repository at this point in the history
  • Loading branch information
sjudd committed Nov 27, 2017
1 parent 16eaa9b commit 5ac08f9
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,9 @@ public void run() {

GifDrawable drawableFromView = (GifDrawable) imageView.getDrawable();
assertThat(drawableFromView.isRunning()).isTrue();

gifDrawable.stop();
drawableFromView.stop();
}

// LayoutParams.TYPE_SYSTEM_ALERT.
Expand Down

0 comments on commit 5ac08f9

Please sign in to comment.