From dbeea19ce8b331c8671afe843c3602771191091b Mon Sep 17 00:00:00 2001 From: Craig Martin Date: Tue, 22 Aug 2023 23:42:13 -0400 Subject: [PATCH] Formatting cleanup --- .../java/com/brentvatne/exoplayer/ReactExoplayerView.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/android/src/main/java/com/brentvatne/exoplayer/ReactExoplayerView.java b/android/src/main/java/com/brentvatne/exoplayer/ReactExoplayerView.java index 3b4e6b79..3b595f6c 100644 --- a/android/src/main/java/com/brentvatne/exoplayer/ReactExoplayerView.java +++ b/android/src/main/java/com/brentvatne/exoplayer/ReactExoplayerView.java @@ -597,7 +597,7 @@ class ReactExoplayerView extends FrameLayout implements // Failed to intialize DRM session manager - cannot continue Log.e("ExoPlayer Exception", "Failed to initialize DRM Session Manager Framework!"); eventEmitter.error("Failed to initialize DRM Session Manager Framework!", new Exception("DRM Session Manager Framework failure!"), "3003"); - return; + return; } if (activity == null) { @@ -1084,7 +1084,7 @@ class ReactExoplayerView extends FrameLayout implements return DataSourceUtil.getDefaultHttpDataSourceFactory(this.themedReactContext, useBandwidthMeter ? bandwidthMeter : null, requestHeaders); } - + // AudioBecomingNoisyListener implementation @Override @@ -1216,7 +1216,7 @@ class ReactExoplayerView extends FrameLayout implements int trackIndex){ return selection != null && selection.getTrackGroup() == group && selection.indexOf( trackIndex ) != C.INDEX_UNSET; - } + } private ArrayList getAudioTrackInfo() { ArrayList audioTracks = new ArrayList<>();