[PR #365] [MERGED] Cleanup Android Auto buttons #1418

Closed
opened 2026-04-24 23:58:18 +02:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/advplyr/audiobookshelf-app/pull/365
Author: @vangorra
Created: 9/4/2022
Status: Merged
Merged: 9/4/2022
Merged by: @advplyr

Base: masterHead: vangorra/aa-button-cleanup


📝 Commits (2)

  • 453365f Fix buttons for Android Auto (and probably wear too).
  • 92f10fd Merge branch 'advplyr:master' into vangorra/aa-button-cleanup

📊 Changes

9 files changed (+115 additions, -13 deletions)

View changed files

📝 android/app/src/main/java/com/audiobookshelf/app/data/DeviceClasses.kt (+1 -1)
📝 android/app/src/main/java/com/audiobookshelf/app/player/MediaSessionCallback.kt (+2 -0)
📝 android/app/src/main/java/com/audiobookshelf/app/player/PlayerConstants.kt (+2 -0)
📝 android/app/src/main/java/com/audiobookshelf/app/player/PlayerNotificationService.kt (+58 -12)
android/app/src/main/res/drawable-anydpi/skip_next_24.xml (+15 -0)
android/app/src/main/res/drawable-anydpi/skip_previous_24.xml (+15 -0)
android/app/src/main/res/drawable/skip_next_24.xml (+10 -0)
android/app/src/main/res/drawable/skip_previous_24.xml (+10 -0)
📝 android/app/src/main/res/values/strings.xml (+2 -0)

📄 Description

Control buttons in Android Auto (and probably Android Wear too) are messy. The skip back/forward buttons appears sometimes and the jump forward/back a few seconds don't show at all in minimized modes.

This PR does the following:

  • Show skip buttons if multiple items are available. minimized
  • Hide skip buttons when multiple queue items are not available. skip_hidden
  • Show jump buttons when the app is "minimized" instead of skip buttons. skip_shown

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/advplyr/audiobookshelf-app/pull/365 **Author:** [@vangorra](https://github.com/vangorra) **Created:** 9/4/2022 **Status:** ✅ Merged **Merged:** 9/4/2022 **Merged by:** [@advplyr](https://github.com/advplyr) **Base:** `master` ← **Head:** `vangorra/aa-button-cleanup` --- ### 📝 Commits (2) - [`453365f`](https://github.com/advplyr/audiobookshelf-app/commit/453365fcd62db309a3dd75590c2ff224a01dc1ab) Fix buttons for Android Auto (and probably wear too). - [`92f10fd`](https://github.com/advplyr/audiobookshelf-app/commit/92f10fdb5cb61fee34b518163f484b42a3d32d0c) Merge branch 'advplyr:master' into vangorra/aa-button-cleanup ### 📊 Changes **9 files changed** (+115 additions, -13 deletions) <details> <summary>View changed files</summary> 📝 `android/app/src/main/java/com/audiobookshelf/app/data/DeviceClasses.kt` (+1 -1) 📝 `android/app/src/main/java/com/audiobookshelf/app/player/MediaSessionCallback.kt` (+2 -0) 📝 `android/app/src/main/java/com/audiobookshelf/app/player/PlayerConstants.kt` (+2 -0) 📝 `android/app/src/main/java/com/audiobookshelf/app/player/PlayerNotificationService.kt` (+58 -12) ➕ `android/app/src/main/res/drawable-anydpi/skip_next_24.xml` (+15 -0) ➕ `android/app/src/main/res/drawable-anydpi/skip_previous_24.xml` (+15 -0) ➕ `android/app/src/main/res/drawable/skip_next_24.xml` (+10 -0) ➕ `android/app/src/main/res/drawable/skip_previous_24.xml` (+10 -0) 📝 `android/app/src/main/res/values/strings.xml` (+2 -0) </details> ### 📄 Description Control buttons in Android Auto (and probably Android Wear too) are messy. The skip back/forward buttons appears sometimes and the jump forward/back a few seconds don't show at all in minimized modes. This PR does the following: - Show skip buttons if multiple items are available. ![minimized](https://user-images.githubusercontent.com/1752370/188323780-a559d803-6bb7-4123-9464-74cf670ac660.png) - Hide skip buttons when multiple queue items are not available. ![skip_hidden](https://user-images.githubusercontent.com/1752370/188323779-30ebcf3c-1c30-4677-9ee5-71ed5ee3f3c2.png) - Show jump buttons when the app is "minimized" instead of skip buttons. ![skip_shown](https://user-images.githubusercontent.com/1752370/188323776-8b143ff7-b0ca-4c41-8ee2-895b00d05750.png) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
adam added the pull-request label 2026-04-24 23:58:18 +02:00
adam closed this issue 2026-04-24 23:58:18 +02:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/audiobookshelf-app#1418