Repository navigation
aosp: Turn QUIC off by default - #13354
Merged
andrewsavage1 merged 1 commit intoOct 17, 2026
Merged
Conversation
Contributor
There was a problem hiding this comment.
Code Review
This pull request updates MainActivity.java to prepend default command-line arguments, specifically disabling QUIC via JavaSwitches.DEFAULT_DISABLE_QUIC, to the arguments list during a cold start. This is implemented by introducing a new helper method getArgsWithDefaults that wraps the existing arguments. There are no review comments, and the changes look correct, so I have no feedback to provide.
Contributor
|
Contributor
🤖 Gemini Suggested Commit Message💡 Pro Tips for a Better Commit Message:
|
Android TV turns QUIC off by default, and AOSP didn't. With QUIC on, downloads that pause mid-transfer get dropped, and the Playback Analysis yts tests fail with a network error. Test: With --disable-quic, the 12 Playback Analysis yts tests that failed with a network error pass. Bug: 532158865
ogarai
force-pushed
the
yts/fix_aosp_disable_quic_by_default
branch
from
October 15, 2026 17:50
1c06680 to
39a97ae
Compare
andrewsavage1
enabled auto-merge (squash)
October 15, 2026 20:03
andrewsavage1
approved these changes
Oct 15, 2026
kjyoun
added a commit
that referenced
this pull request
Oct 19, 2026
#13227 moved Android's default command-line switches from Java (`CommandLineOverrideHelper`) into C++ (`cobalt_switch_defaults_android.cc`). This PR does the same for AOSP: #13354 added the `--disable-quic` default in the AOSP `MainActivity` (Java), and this PR moves it into `cobalt_switch_defaults_starboard.cc`. - Guarded by `BUILDFLAG(IS_ANDROID)`, so among Starboard platforms it only applies to AOSP. Linux and RDK are unchanged. - No behavior change on AOSP: QUIC stays off by default. - Removes the AOSP dependency on `JavaSwitches.DEFAULT_DISABLE_QUIC`, which lets Android TV move its `--disable-quic` default into C++ as well (#13330). Bug: 532158865 Bug: 571217515
briantting
pushed a commit
that referenced
this pull request
Oct 20, 2026
Refer to original PR: #13354 Android TV turns QUIC off by default, and AOSP didn't. With QUIC on, downloads that pause mid-transfer get dropped, and the Playback Analysis yts tests fail with a network error. Test: With --disable-quic, the 12 Playback Analysis yts tests that failed with a network error pass. Bug: 532158865 (cherry picked from commit 18fef33)
briantting
pushed a commit
that referenced
this pull request
Oct 20, 2026
… C++ layer Refer to original PR: #13468 #13227 moved Android's default command-line switches from Java (`CommandLineOverrideHelper`) into C++ (`cobalt_switch_defaults_android.cc`). This PR does the same for AOSP: #13354 added the `--disable-quic` default in the AOSP `MainActivity` (Java), and this PR moves it into `cobalt_switch_defaults_starboard.cc`. - Guarded by `BUILDFLAG(IS_ANDROID)`, so among Starboard platforms it only applies to AOSP. Linux and RDK are unchanged. - No behavior change on AOSP: QUIC stays off by default. - Removes the AOSP dependency on `JavaSwitches.DEFAULT_DISABLE_QUIC`, which lets Android TV move its `--disable-quic` default into C++ as well (#13330). Bug: 532158865 Bug: 571217515 (cherry picked from commit ae8f0c2)
briantting
pushed a commit
that referenced
this pull request
Oct 20, 2026
Refer to original PR: #13354 Android TV turns QUIC off by default, and AOSP didn't. With QUIC on, downloads that pause mid-transfer get dropped, and the Playback Analysis yts tests fail with a network error. Test: With --disable-quic, the 12 Playback Analysis yts tests that failed with a network error pass. Bug: 532158865 (cherry picked from commit 18fef33)
briantting
pushed a commit
that referenced
this pull request
Oct 20, 2026
… C++ layer Refer to original PR: #13468 #13227 moved Android's default command-line switches from Java (`CommandLineOverrideHelper`) into C++ (`cobalt_switch_defaults_android.cc`). This PR does the same for AOSP: #13354 added the `--disable-quic` default in the AOSP `MainActivity` (Java), and this PR moves it into `cobalt_switch_defaults_starboard.cc`. - Guarded by `BUILDFLAG(IS_ANDROID)`, so among Starboard platforms it only applies to AOSP. Linux and RDK are unchanged. - No behavior change on AOSP: QUIC stays off by default. - Removes the AOSP dependency on `JavaSwitches.DEFAULT_DISABLE_QUIC`, which lets Android TV move its `--disable-quic` default into C++ as well (#13330). Bug: 532158865 Bug: 571217515 (cherry picked from commit ae8f0c2)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Android TV turns QUIC off by default, and AOSP didn't. With QUIC on,
downloads that pause mid-transfer get dropped, and the Playback
Analysis yts tests fail with a network error.
Test: With --disable-quic, the 12 Playback Analysis yts tests that
failed with a network error pass.
Bug: 532158865