Skip to content

Merge dev to main#142

Merged
Hepolise merged 3 commits into
mainfrom
dev
Jul 31, 2025
Merged

Merge dev to main#142
Hepolise merged 3 commits into
mainfrom
dev

Conversation

@Hepolise

Copy link
Copy Markdown
Owner
  • Refactor: Convert AppFilterType to enum and simplify volume key handling
  • Refactor VolumeKeyControlModuleHandlers

Hepolise and others added 3 commits July 19, 2025 14:04
- Introduce sealed class MediaEvent for long-press actions
- Add KeyHelper and Action enums for clearer key logic
- Refactor hook methods into MethodHookParam extensions
- Improve readability and unify delayed event handling
- Changed AppFilterType from sealed class to enum for simpler implementation
- Updated all references to use uppercase enum constants (DISABLED, WHITE_LIST, BLACK_LIST)
- Simplified volume key control module:
  - Moved initialization logic to Context extension functions
  - Renamed action types to PRESSED/UNPRESSED for clarity
  - Consolidated delay/abort logic into dedicated methods
  - Improved media event handling structure
- Fixed minor IDE warnings and improved code consistency
@Hepolise Hepolise merged commit 1bcdd51 into main Jul 31, 2025
1 check passed
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.

1 participant