Raise TV minSdk back to 26, matching libmpv's requirement
Some checks failed
Apple / iOS simulator (push) Has been cancelled
Apple / tvOS simulator (push) Has been cancelled
Platform Verification / Android shared modules (push) Has been cancelled
Platform Verification / Android release smoke (push) Has been cancelled
Platform Verification / Android instrumentation (push) Has been cancelled

The TV flavor's minSdk 24 (from the desugaring commit) broke the TV
manifest merge outright: libmpv declares minSdk 26 in its own manifest,
and Gradle refuses to merge a lower app minSdk against it. Android 7.0/7.1
(API 24-25) TV devices are unsupported as a result — MPV is a hard
dependency of the player backend, not something worth gating behind a
runtime API check for two OS versions.
This commit is contained in:
KhooLy 2026-08-10 16:21:38 +03:00
parent 35a89e190a
commit d07ac4846e

View file

@ -75,8 +75,8 @@ android {
}
create("tv") {
dimension = "device"
// Android TV 7.0 (API 24) and newer.
minSdk = 24
// libmpv requires API 26; Android TV 7.0/7.1 (API 24-25) devices are unsupported.
minSdk = 26
applicationId = "com.fluxa.app.tv"
buildConfigField("String", "DEVICE_FLAVOR", "\"tv\"")
buildConfigField("Boolean", "IS_TV", "true")