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:
2026-07-26 15:02:35 +02:00
co-authored by Cursor
parent ea5da1eb86
commit 97d787f758
2 changed files with 9 additions and 8 deletions
@@ -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