Repository navigation
fix(android): preserve selected theme after startup loading cover - #679
Merged
Codename-11 merged 7 commits intoOct 8, 2026
Merged
Conversation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
🤖 Hermes-Relay automated PR intake Thanks for tackling the startup theme issue! This targets Lint and assembly are reported as passed. The local unit-test failures/timeouts and lack of a new regression test are explicitly documented; no CI results are visible yet. The remaining verification item is a required CI result for this PR head, rather than treating the local unit-test run as a pass. A maintainer will review the change and the outstanding unit-test evidence. |
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.
Summary
With Appearance set to Light (or Auto in system light mode), the app could open
"half black" after a cold start or reopen: Material surfaces followed
Appearance while legacy
RelayRefresh.*surfaces and system-bar icon contraststayed dark until Appearance was toggled.
The in-app navigation-hydration cover rendered
SupervisedStartupLoadingScreen(),which opens a nested
HermesRelayTheme(themePreference = "dark"). ItsSideEffectoverwrote the globalRelayRefresh.activePaletteand system-barcontrast, and the outer theme did not recompose after the cover was removed.
Closes #678
Changes
Verification
Maintainer follow-up, before the final base refresh:
:app:testSideloadDebugUnitTestand:app:testGooglePlayDebugUnitTest, selectingStartupLoadingThemeTest,RelayNavigationHydrationUiTest,SupervisedNavigationPolicyTest, andPersistedAppearanceThemeTest: 23 tests passed per flavor.:app:lintSideloadDebug :app:lintGooglePlayDebug: passed with zero errors after fresh lint analysis.Maintainer physical-device verification on
e891b8981:Contributor verification from the original PR:
./gradlew :app:lintSideloadDebugand./gradlew :app:assembleSideloadDebugpassed.Failed to interact with raw FileDescriptor internals), plus two unrelated voice-routing/git ViewModel timeouts.Screenshots
Pixel 7 Pro, Android 17, Appearance Light.
Compatibility / risk
Standard Hermes path unaffected.
Lineage / contributor credit
d27e08a5andfd90b433are retained unchanged.devbase merge.Checklist
dev, unless this is adev→mainrelease PR or a focused production-tag hotfix PR tomainCHANGELOG.mdis updated for user-visible changes, or N/A is listed above