Household and Play editions, one version-code counter (build 40: 400 household, 402 Play)
pauljd/davidson-ci: Davidson CI / quality (push) Failing after 3m38s
release-gate / verify (push) Successful in 11m53s
pauljd/davidson-ci: Davidson CI / ai-review (push) Failing after 2m50s

Both editions are tv.orbit.classic. The Play edition has no room updater, no
PackageInstaller, no REQUEST_INSTALL_PACKAGES, no adb install check and no
adb test hooks; Google Play updates it. The household edition keeps all of
them. Release builds and the Play bundle are unsigned until signing is
approved. The release gate builds both editions and the bundle, tests both,
and checks what was built: ids, codes above every earlier one (the reserved
390 included), Play isolation, household intact, nothing signed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-10 09:49:38 +00:00
co-authored by Claude Opus 5.5
parent 1f1f78b668
commit 11af81c859
19 changed files with 302 additions and 70 deletions
@@ -0,0 +1,24 @@
package tv.orbit.classic
import android.app.Activity
import android.content.Context
import android.content.Intent
import androidx.compose.runtime.Composable
import org.json.JSONObject
import java.io.OutputStream
/**
* The Play edition (Paul, 10 November 2026): only Google Play updates it (Play's Device and Network Abuse policy), so it
* never offers, fetches, shares or installs a copy of Orbit, and it holds no install permission. adb's test requests and the
* install check aren't in it. Rooms, profiles, Taste, Continue Watching, the Arcade and sync are the same as at home.
*/
internal object Edition {
const val NAME = "play"
fun readAdbRequests(activity: Activity, intent: Intent?) {}
fun openPlaybackTest(activity: Activity, intent: Intent?) {}
suspend fun lookForUpdate(context: Context) {}
fun sharedBuild(context: Context): SharedBuild? = null
@Composable fun UpdateCard() {}
/** Never answers the update routes: another room asking gets the usual "not found". */
fun serveUpdate(path: String, method: String, out: OutputStream, shared: SharedBuild?, json: (Int, JSONObject) -> Unit): Boolean = false
}