Skip to content

Commit

Permalink
refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
yuliskov committed Aug 28, 2024
1 parent fd72dae commit 9d6a9dd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion exoplayer-amzn-2.10.6/library/core/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@ android {
dependencies {
// MODIFIED: add custom dns resolver
implementation project(':sharedutils')
implementation 'androidx.core:core:' + coreXLibraryVersion
implementation 'androidx.annotation:annotation:' + annotationXLibraryVersion
compileOnly 'org.checkerframework:checker-qual:' + checkerframeworkVersion
compileOnly 'org.checkerframework:checker-compat-qual:' + checkerframeworkVersion
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@

import android.graphics.Typeface;
import androidx.annotation.NonNull;
import androidx.core.text.HtmlCompat;

import android.text.Html;
import android.text.Layout.Alignment;
import android.text.Spannable;
import android.text.SpannableStringBuilder;
Expand Down Expand Up @@ -160,7 +160,7 @@ public boolean parseCue(ParsableByteArray webvttData, WebvttCue.Builder builder,
/* package */ static void parseCueText(String id, String markup, WebvttCue.Builder builder,
List<WebvttCssStyle> styles) {
// MOD: Fix embedded styles by decoding html entities
markup = HtmlCompat.fromHtml(markup, HtmlCompat.FROM_HTML_MODE_LEGACY).toString();
markup = Html.fromHtml(markup).toString();

SpannableStringBuilder spannedText = new SpannableStringBuilder();
ArrayDeque<StartTag> startTagStack = new ArrayDeque<>();
Expand Down

0 comments on commit 9d6a9dd

Please sign in to comment.