From e684ba65b6bbad65a4472c535b758ebfed57a628 Mon Sep 17 00:00:00 2001 From: Hampton Maxwell Date: Wed, 20 Jun 2018 15:34:36 -0700 Subject: [PATCH] Fix crash when selectedTextTrack is null or undefined --- .../exoplayer/ReactExoplayerViewManager.java | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/android-exoplayer/src/main/java/com/brentvatne/exoplayer/ReactExoplayerViewManager.java b/android-exoplayer/src/main/java/com/brentvatne/exoplayer/ReactExoplayerViewManager.java index e204a4e7..7c41db58 100644 --- a/android-exoplayer/src/main/java/com/brentvatne/exoplayer/ReactExoplayerViewManager.java +++ b/android-exoplayer/src/main/java/com/brentvatne/exoplayer/ReactExoplayerViewManager.java @@ -126,10 +126,14 @@ public class ReactExoplayerViewManager extends ViewGroupManager