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

fix(YouTube - Change form factor): Restore Automotive form factor watch history menu, channel pages, and community posts #4541

Conversation

LisoUseInAIKyrios
Copy link
Contributor

@LisoUseInAIKyrios LisoUseInAIKyrios commented Mar 5, 2025

Fixes various issues when using Android Automotive form factor.
 

If using the Android Automotive, the form factor override is selectively turned off for the following situations:

Navigation is currently on the 'You' tab

  • Fixes hidden watch history menu

Video player is currently opened or is opening

  • Fixes video description cannot be opened/expanded

Navigation bar shows a back button but not a search bar

  • Fixes channel pages showing 400 error
  • Fixes broken Explore tabs such as Music
  • Fixes home/subscription community posts cannot be opened (normally says 'view this post on another device')

Due to side effects with these fixes, the Explore tab is now always hidden if using Automotive form factor. If desired, use the Change start page patch to open the Explore tab on startup.

…ch history menu, channel pages, and community posts
@LisoUseInAIKyrios
Copy link
Contributor Author

The explore tab can be set hidden, if the user opens the app and immediately changes to the You tab or opens a video.

The only simple fix I can think of, is to alway use the automotive form factor for the first few seconds after the app launches, but that is not reliable and will cause the undesirable automotive side effects if the user immediately opens the you tab or open a video.

To avoid the issue for now, I've changed it to always hide the explore tab. I don't know if the explore tab is that useful, and if desired the change start page can restore the functionality on startup.

@LisoUseInAIKyrios LisoUseInAIKyrios merged commit aa5c001 into ReVanced:dev Mar 6, 2025
1 check passed
github-actions bot pushed a commit that referenced this pull request Mar 6, 2025
## [5.13.1-dev.1](v5.13.0...v5.13.1-dev.1) (2025-03-06)

### Bug Fixes

* **YouTube - Change form factor:** Restore Automotive form factor watch history menu, channel pages, and community posts ([#4541](#4541)) ([aa5c001](aa5c001))
@LisoUseInAIKyrios LisoUseInAIKyrios deleted the fix/change_form_factor_automotive branch March 6, 2025 06:45
github-actions bot pushed a commit that referenced this pull request Mar 9, 2025
# [5.14.0](v5.13.0...v5.14.0) (2025-03-09)

### Bug Fixes

* **Boost for reddit - Client spoof:** Use a different user agent to combat Reddit's API issues ([5d3c817](5d3c817))
* **YouTube - Change form factor:** Restore Automotive form factor watch history menu, channel pages, and community posts ([#4541](#4541)) ([aa5c001](aa5c001))
* **YouTube - Hide ads:** Hide new type of buttoned ad ([#4528](#4528)) ([4387a7b](4387a7b))
* **YouTube - Hide layout components:** Do not hide Movie/Courses start page content if 'Hide horizontal shelves' is enabled ([62a6164](62a6164))
* **YouTube - Theme:** Resolve dark mode startup crash with Android 9.0 ([741c2d5](741c2d5))
* **YouTube:** Change language settings menu to use native language names ([#4568](#4568)) ([6f3f8fd](6f3f8fd))
* **YouTube:** Combine `Restore old video quality menu` and `Remember video quality` into `Video quality` patch ([#4552](#4552)) ([ee67b76](ee67b76))

### Features

* **Infinity for Reddit:** Add support for package name on IzzyOnDroid ([#4554](#4554)) ([cf9f959](cf9f959))
* **Spotify:** Add `Spoof signature` patch ([#4576](#4576)) ([3646c70](3646c70))
* **YouTube - Remember video quality:** Add separate Shorts default quality settings ([#4543](#4543)) ([88142ab](88142ab))
github-actions bot pushed a commit to areteruhiro/linegms that referenced this pull request Mar 16, 2025
# [5.14.0](https://github.com/areteruhiro/revanced-patches/compare/v5.13.0...v5.14.0) (2025-03-16)

### Bug Fixes

* **Boost for reddit - Client spoof:** Use a different user agent to combat Reddit's API issues ([5d3c817](https://github.com/areteruhiro/revanced-patches/commit/5d3c8175b34a3f6ae2732b25db0851773a8c000d))
* **YouTube - Change form factor:** Restore Automotive form factor watch history menu, channel pages, and community posts ([ReVanced#4541](https://github.com/areteruhiro/revanced-patches/issues/4541)) ([aa5c001](https://github.com/areteruhiro/revanced-patches/commit/aa5c001968446e5270c756256724e917009612cd))
* **YouTube - Hide ads:** Hide new type of buttoned ad ([ReVanced#4528](https://github.com/areteruhiro/revanced-patches/issues/4528)) ([4387a7b](https://github.com/areteruhiro/revanced-patches/commit/4387a7b131f49729e902e008bb4cec073635c040))
* **YouTube - Hide layout components:** Do not hide Movie/Courses start page content if 'Hide horizontal shelves' is enabled ([62a6164](https://github.com/areteruhiro/revanced-patches/commit/62a6164b88b64200b517a5ba6b800d8214dbbad8))
* **YouTube - Theme:** Resolve dark mode startup crash with Android 9.0 ([741c2d5](https://github.com/areteruhiro/revanced-patches/commit/741c2d59406f5d602554bb3a3c0b8982f42848b4))
* **YouTube:** Change language settings menu to use native language names ([ReVanced#4568](https://github.com/areteruhiro/revanced-patches/issues/4568)) ([6f3f8fd](https://github.com/areteruhiro/revanced-patches/commit/6f3f8fdce05501e4fa4423c2170a916fbea3b199))
* **YouTube:** Combine `Restore old video quality menu` and `Remember video quality` into `Video quality` patch ([ReVanced#4552](https://github.com/areteruhiro/revanced-patches/issues/4552)) ([ee67b76](https://github.com/areteruhiro/revanced-patches/commit/ee67b763d5c5947a5b1ef4420b1efa820ed6af83))

### Features

* **Infinity for Reddit:** Add support for package name on IzzyOnDroid ([ReVanced#4554](https://github.com/areteruhiro/revanced-patches/issues/4554)) ([cf9f959](https://github.com/areteruhiro/revanced-patches/commit/cf9f959923076c10a7f0a29f6ba277f5a055ec07))
* **Spotify:** Add `Spoof signature` patch ([ReVanced#4576](https://github.com/areteruhiro/revanced-patches/issues/4576)) ([3646c70](https://github.com/areteruhiro/revanced-patches/commit/3646c70556b67a6b7ecf9b86869ebf03c3611333))
* **YouTube - Remember video quality:** Add separate Shorts default quality settings ([ReVanced#4543](https://github.com/areteruhiro/revanced-patches/issues/4543)) ([88142ab](https://github.com/areteruhiro/revanced-patches/commit/88142ab464192b564b1b8d56a6b45663f77f5e00))
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.

bug(YouTube - Change form factor): User/channel pages show error 400 when using automotive mode
1 participant