Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate JNI to jni_generator for class CobaltTextToSpeechHelper #4710

Merged
merged 1 commit into from
Jan 25, 2025

Conversation

haozheng-cobalt
Copy link
Contributor

@haozheng-cobalt haozheng-cobalt commented Jan 16, 2025

This PR is a syntax migration for the CobaltTextToSpeechHelper class to unblock the larger migration of StarboardBridge, which depends on CobaltTextToSpeechHelper.

Parts of this class, or even the entire class, might no longer be necessary. We will need to investigate and clean it up further under bug b/392178584.

No tests have been conducted because the class is currently not wired up in Chrobalt.

b/389117681

@haozheng-cobalt haozheng-cobalt marked this pull request as draft January 16, 2025 23:52
@haozheng-cobalt haozheng-cobalt force-pushed the jni-0116 branch 4 times, most recently from b2e90d2 to 436c814 Compare January 24, 2025 20:16
@haozheng-cobalt haozheng-cobalt self-assigned this Jan 25, 2025
@haozheng-cobalt haozheng-cobalt force-pushed the jni-0116 branch 2 times, most recently from 436e5d8 to b692335 Compare January 25, 2025 00:35
@haozheng-cobalt haozheng-cobalt marked this pull request as ready for review January 25, 2025 00:36
Functions SbSpeechSynthesisSpeak etc. are not yet wired up in Chrobalt, so skipping the test.

finishIfScreenReaderChanged
SendTTSSChangedEvent was a way to bypass Android’s special handling when Talkback is active, we will not need it anymore for screen reader in Chrobalt.

b/389117681
@haozheng-cobalt haozheng-cobalt merged commit 8289686 into youtube:main Jan 25, 2025
87 of 88 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants