Skip to content

fix(shorts): leave Shorts before a linked video plays - #2325

Merged
A-EDev merged 1 commit into
mainfrom
fix/shorts-link-exit
Nov 23, 2026
Merged

A-EDev merged 1 commit into
mainfrom
fix/shorts-link-exit

Conversation

@A-EDev

@A-EDev A-EDev commented Nov 23, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • A video link opened while a Short is on screen now leaves Shorts first and plays in the video player.
  • Before this, the link loaded the video under the Shorts screen, where the video player is hidden, and the Short kept playing; with a video already playing both were heard at once.
  • The Shorts exit step that in-app video taps already used is now one leaveShortsForPlayer call shared by in-app taps, incoming links and the shared link sheet's Play now.

Related issue

Change type

  • Bug fix
  • Feature
  • Refactor or maintenance
  • Build, packaging, or CI
  • Documentation

Validation

  • ./gradlew :app:assembleGithubDebug
  • ./gradlew :app:testGithubDebugUnitTest (7,051 tests, 0 failures, 46 skipped)
  • I ran any additional flavor-specific build or test tasks affected by this change. (compileFossDebugKotlin, spotlessCheck)
  • I manually tested the affected behavior on an Android device or emulator.

With a Short playing, a youtube.com/watch link now opens the video page and only the video session is playing.

Test device and Android version: Xiaomi 2311DRK48G, Android 16 (HyperOS)

Screenshots or recordings

Risk and compatibility

  • The change does not introduce secrets, private data, or unexpected telemetry.
  • New user-facing text uses Android string resources.
  • Dependency and lockfile changes are intentional and limited to this PR.
  • Room schema changes include the required version bump and migration, or this PR does not change the Room schema.
  • Breaking changes and upgrade steps are clearly documented.

@github-actions github-actions Bot added documentation Improvements or additions to documentation ui Compose UI, theming, or Material 3 surfaces labels Nov 23, 2026
@A-EDev
A-EDev merged commit 05229a0 into main Nov 23, 2026
18 of 21 checks passed
@A-EDev
A-EDev deleted the fix/shorts-link-exit branch November 23, 2026 17:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation ui Compose UI, theming, or Material 3 surfaces

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant