Upstairs never had a WebView BumbleHive save (Orbit was installed there fresh on 6 November and cleared that day), so its import found nothing. A checked install action, hive-household (adb only, confirm HOUSEHOLD, SHA-256), puts a copy of another TV's read-only snapshot in its place: only over a missing or 'nothing there' snapshot, never over a real save or an unreadable one, the save's text kept exactly and its source recorded. Each profile is then asked 'Carry on from this TV's hive?' themselves. Skydoku's solved count looked lost: since the Arcade went per profile each profile starts at 0 and the TV's old count shows only as a Household Record. The first time a profile opens Skydoku its count becomes the better of its own and the TV's old one, once, never lower. 8 new tests for the copy's refuse cases and the Skydoku carry. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
43 lines
1.8 KiB
Kotlin
43 lines
1.8 KiB
Kotlin
plugins {
|
|
id("com.android.application")
|
|
id("org.jetbrains.kotlin.plugin.compose")
|
|
}
|
|
android {
|
|
namespace = "tv.orbit.classic"
|
|
compileSdk = 36
|
|
defaultConfig {
|
|
applicationId = "tv.orbit.classic"
|
|
minSdk = 26
|
|
targetSdk = 36
|
|
versionCode = 293
|
|
versionName = "0.110.10-household"
|
|
}
|
|
buildFeatures { compose = true }
|
|
// The finished build for the TVs (Paul, 6 November 2026: the test build stuttered on the box). Not debuggable, so
|
|
// Android compiles it fully; signed with the same key as the test builds, so it installs over them keeping everything.
|
|
buildTypes {
|
|
release {
|
|
isMinifyEnabled = false
|
|
signingConfig = signingConfigs.getByName("debug")
|
|
}
|
|
}
|
|
// Android logging and the like do nothing in unit tests, so whole flows (a channel read from a fake server) can run.
|
|
testOptions { unitTests.isReturnDefaultValues = true }
|
|
compileOptions { sourceCompatibility = JavaVersion.VERSION_17; targetCompatibility = JavaVersion.VERSION_17 }
|
|
}
|
|
dependencies {
|
|
implementation(platform("androidx.compose:compose-bom:2025.08.01"))
|
|
implementation("androidx.activity:activity-compose:1.10.1")
|
|
implementation("androidx.lifecycle:lifecycle-runtime-compose:2.9.2")
|
|
implementation("androidx.compose.foundation:foundation")
|
|
implementation("androidx.compose.ui:ui")
|
|
implementation("androidx.compose.ui:ui-tooling-preview")
|
|
implementation("androidx.tv:tv-material:1.0.0")
|
|
implementation("androidx.media3:media3-exoplayer:1.8.0")
|
|
implementation("androidx.media3:media3-ui:1.8.0")
|
|
// QR codes for the phone page (Create your own): pure Java, no Google services.
|
|
implementation("com.google.zxing:core:3.5.3")
|
|
testImplementation("junit:junit:4.13.2")
|
|
testImplementation("org.json:json:20250107")
|
|
}
|