Commit dc7db03
committed
feat(long-press): support secondary action on extended hold
Added optional secondary action for volume long press.
When enabled, holding the button longer triggers a second action
after the primary long-press action. This allows combining track
skipping with rewind/fast-forward.
Examples:
- long press → skip track
- extended hold → skip + fast forward
or
- long press → rewind
- extended hold → rewind + skip track
Also refactored volume key handler state management and event logic.1 parent e7942fb commit dc7db03
6 files changed
Lines changed: 291 additions & 101 deletions
File tree
- app/src/main
- java/ru/hepolise/volumekeytrackcontrol
- module
- util
- ui
- component
- screen
- util
- res/values
0 commit comments