Skip to content

Commit

Permalink
use Log instead of stack trace
Browse files Browse the repository at this point in the history
  • Loading branch information
adbenitez committed Jan 21, 2025
1 parent 8817b50 commit 2ab567a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -476,7 +476,7 @@ public void onPageUnselected(int position) {
MediaItem item = adapter.getMediaItemFor(position);
if (item.recipient != null) item.recipient.removeListener(MediaPreviewActivity.this);
} catch (IllegalArgumentException e) {
e.printStackTrace();
Log.w(TAG, "Ignoring invalid position index");
}
adapter.pause(position);
}
Expand Down

0 comments on commit 2ab567a

Please sign in to comment.