Minor formatting cleanups

Fix spacing
This commit is contained in:
Hampton Maxwell 2018-06-01 11:55:00 -07:00 committed by GitHub
parent f2e182addc
commit 5ce228e9f7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -504,10 +504,9 @@ class ReactExoplayerView extends FrameLayout implements
decoderInitializationException.decoderName);
}
}
}
else if (e.type == ExoPlaybackException.TYPE_SOURCE) {
ex = e.getSourceException();
errorString = getResources().getString(R.string.unrecognized_media_format);
} else if (e.type == ExoPlaybackException.TYPE_SOURCE) {
ex = e.getSourceException();
errorString = getResources().getString(R.string.unrecognized_media_format);
}
if (errorString != null) {
eventEmitter.error(errorString, ex);