mirror of
https://github.com/advplyr/audiobookshelf-app.git
synced 2025-08-31 23:20:35 +02:00
Update Android Auto playback speed string
This commit is contained in:
parent
23c90f4118
commit
17a894f5ef
2 changed files with 2 additions and 1 deletions
|
@ -1201,7 +1201,7 @@ class PlayerNotificationService : MediaBrowserServiceCompat() {
|
||||||
customActionExtras.putFloat("speed", playbackRate)
|
customActionExtras.putFloat("speed", playbackRate)
|
||||||
return PlaybackStateCompat.CustomAction.Builder(
|
return PlaybackStateCompat.CustomAction.Builder(
|
||||||
CUSTOM_ACTION_CHANGE_SPEED,
|
CUSTOM_ACTION_CHANGE_SPEED,
|
||||||
getContext().getString(R.string.action_skip_backward),
|
getContext().getString(R.string.action_change_speed),
|
||||||
drawable
|
drawable
|
||||||
)
|
)
|
||||||
.setExtras(customActionExtras)
|
.setExtras(customActionExtras)
|
||||||
|
|
|
@ -10,4 +10,5 @@
|
||||||
<string name="action_jump_backward">Jump Backward</string>
|
<string name="action_jump_backward">Jump Backward</string>
|
||||||
<string name="action_skip_forward">Skip Forward</string>
|
<string name="action_skip_forward">Skip Forward</string>
|
||||||
<string name="action_skip_backward">Skip Backward</string>
|
<string name="action_skip_backward">Skip Backward</string>
|
||||||
|
<string name="action_change_speed">Change Playback Speed</string>
|
||||||
</resources>
|
</resources>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue