Commit 63256a48 by ibaker Committed by Oliver Woodman

Disable text selection in SubtitleWebView

PiperOrigin-RevId: 298605366
parent 58f42e9f
...@@ -156,7 +156,7 @@ import java.util.List; ...@@ -156,7 +156,7 @@ import java.util.List;
cueText.append(SpannedToHtmlConverter.convert(cues.get(i).text)); cueText.append(SpannedToHtmlConverter.convert(cues.get(i).text));
} }
webView.loadData( webView.loadData(
"<html><body><p style=\"color:red;font-size:20px;height:150px\">" "<html><body><p style=\"color:red;font-size:20px;height:150px;-webkit-user-select:none;\">"
+ cueText + cueText
+ "</p></body></html>", + "</p></body></html>",
"text/html", "text/html",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment