Skip to content

Set compile SDK to 37#6871

Merged
TimoPtr merged 1 commit into
mainfrom
feature/compile_sdk37
May 20, 2026
Merged

Set compile SDK to 37#6871
TimoPtr merged 1 commit into
mainfrom
feature/compile_sdk37

Conversation

@TimoPtr
Copy link
Copy Markdown
Member

@TimoPtr TimoPtr commented May 20, 2026

Summary

In order to prepare the app to support Android API 37 this PR bumps the compile SDK to 37 and fix one issue that appear in the HapticPerformerTest due to some new API it needs a specific mocking type declaration.

Copilot AI review requested due to automatic review settings May 20, 2026 09:07
@TimoPtr TimoPtr merged commit 2a11b41 into main May 20, 2026
6 of 9 checks passed
@TimoPtr TimoPtr deleted the feature/compile_sdk37 branch May 20, 2026 09:08
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the project’s compile SDK version to API 37 to prepare the Android build for upcoming platform changes, and adjusts a Robolectric/MockK unit test to remain compatible with the updated SDK method signatures.

Changes:

  • Bump androidSdk-compile from 36 → 37 in the version catalog.
  • Disambiguate View.performHapticFeedback(...) mocking/verifications in HapticFeedbackPerformerTest by explicitly matching the Int overload.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
gradle/libs.versions.toml Raises the compile SDK version used by the shared Android Gradle convention to API 37
app/src/test/kotlin/io/homeassistant/companion/android/frontend/haptic/HapticFeedbackPerformerTest.kt Fixes MockK matcher typing for performHapticFeedback(Int) to keep tests passing with the newer SDK

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants