mirror of
https://github.com/d4rken-org/capod.git
synced 2026-09-16 11:16:12 -04:00
fix(aap): Fix stem actions volume control, reset button, and Default/No Action semantics
Fix volume up/down doing nothing by using adjustSuggestedStreamVolume instead of dispatchMediaKeyEvent which ignores volume keycodes. Add reset-to-defaults button with confirmation dialog in the stem actions TopAppBar. Rename 'None' to 'Default' (firmware handles the press) and add 'No Action' (claimed but do nothing) to correctly model per-press-type claim mask semantics. Remove disableNone lock; add cross-side auto-set logic so selecting Default resets both sides and selecting an action promotes the other side from Default to No Action.
This commit is contained in:
@@ -510,11 +510,14 @@
|
||||
<string name="stem_actions_long_press">Long Press</string>
|
||||
<string name="stem_actions_left">Left</string>
|
||||
<string name="stem_actions_right">Right</string>
|
||||
<string name="stem_action_none">None</string>
|
||||
<string name="stem_action_none">Default</string>
|
||||
<string name="stem_action_no_action">No Action</string>
|
||||
<string name="stem_action_play_pause">Play/Pause</string>
|
||||
<string name="stem_action_next_track">Next Track</string>
|
||||
<string name="stem_action_previous_track">Previous Track</string>
|
||||
<string name="stem_action_volume_up">Volume Up</string>
|
||||
<string name="stem_action_volume_down">Volume Down</string>
|
||||
<string name="stem_actions_reset_label">Reset to defaults</string>
|
||||
<string name="stem_actions_reset_confirm_message">Reset all stem actions to defaults?</string>
|
||||
|
||||
</resources>
|
||||
Reference in New Issue
Block a user