Skip to content

Refactor build config, improve focus handling, extend Android 16 support, and bump SDK #156

Merged
Hepolise merged 6 commits intomainfrom
dev
Aug 19, 2025
Merged

Refactor build config, improve focus handling, extend Android 16 support, and bump SDK #156
Hepolise merged 6 commits intomainfrom
dev

Conversation

@Hepolise
Copy link
Owner

  1. Build configuration

    • Migrated from deprecated kotlinOptions.jvmTarget to the modern compilerOptions API.
  2. Android SDK

    • Bumped compileSdk and targetSdk from 35 → 36.
  3. UI — NumberAlertDialog

    • Moved FocusRequester inside the AlertDialog content to scope it properly.
    • Relocated LaunchedEffect to ensure requestFocus() is triggered at the right moment.
    • Removed redundant focus logic, improving clarity and lifecycle consistency.
  4. Module — VolumeControlModule

    • Added support for Android 16 PhoneWindowManager.init method signature.
    • Updated log messages accordingly.
    • Renamed tryHookMethodtryHookInitMethod for better naming consistency.
    • Refactored init logic to use .also {} for concise flow.
  5. Module — VolumeKeyControlModuleHandlers

    • Generalized abortAll() to abort all MediaEvent entries instead of a fixed subset.
    • Makes behavior future-proof for any newly added media events.

Hepolise and others added 6 commits August 14, 2025 22:22
- Replaced deprecated `kotlinOptions.jvmTarget = "17"` with
  `kotlin { compilerOptions { jvmTarget.set(JvmTarget.JVM_17) } }`
- Move FocusRequester inside AlertDialog content
- Ensure requestFocus is triggered within LaunchedEffect scoped to text field
- Added Android 16 method signature for PhoneWindowManager.init
- Renamed tryHookMethod → tryHookInitMethod for clarity
- Simplified init() logic using also{} to handle hook result
- Minor log message updates
@Hepolise Hepolise merged commit ebd52aa into main Aug 19, 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