Bump Android a 2.0.6 e corregge la compilazione termica.
Alza versionCode a 27 per il test chiuso Play Console e sistema l'etichetta Kotlin invalida in ThermalStateManager. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -20,8 +20,8 @@ android {
|
||||
applicationId = "com.matchlivetv.match_live_tv"
|
||||
minSdk = 24
|
||||
targetSdk = 36
|
||||
versionCode = 26
|
||||
versionName = "2.0.5-native"
|
||||
versionCode = 27
|
||||
versionName = "2.0.6-native"
|
||||
|
||||
val apiBaseUrl = project.findProperty("API_BASE_URL") as String?
|
||||
?: "https://www.matchlivetv.it"
|
||||
|
||||
+7
-6
@@ -40,12 +40,13 @@ class ThermalStateManager(
|
||||
fun start() {
|
||||
monitor.onStateChanged = { next ->
|
||||
val previous = _state.value
|
||||
if (next == previous) return@onStateChanged
|
||||
Log.i(TAG, "[Thermal] $previous → $next")
|
||||
_state.value = next
|
||||
_noticeMessage.value = userNotice(next, previous)
|
||||
applyAdaptation(next, force = false)
|
||||
updateCriticalWatch(next)
|
||||
if (next != previous) {
|
||||
Log.i(TAG, "[Thermal] $previous → $next")
|
||||
_state.value = next
|
||||
_noticeMessage.value = userNotice(next, previous)
|
||||
applyAdaptation(next, force = false)
|
||||
updateCriticalWatch(next)
|
||||
}
|
||||
}
|
||||
monitor.start()
|
||||
_state.value = monitor.currentState
|
||||
|
||||
Reference in New Issue
Block a user