← Back to Pull requests

Support Android 8.0 on TV #3544

Closed
unknown closed this pull request without merging on Oct 07, 2026 13:01 UTC
View on GitHub
unknown unknown commented on Oct 07, 2026 05:17 UTC
Author

Closes #3511

TV APKs currently require Android 8.1 because they inherit the phone app's minimum SDK. Set the shared Android library/TV minimum to API 26 (Android 8.0), and explicitly keep the phone default flavor at API 27 or the configured minimum, whichever is higher. The phone BT service requires API 27's SharedMemory; TV does not register that engine or service.

Verification:

  • Built :app:android:assembleTvDebug using JBR 21 and the arm64-v8a ABI.

  • Merged both debug and release manifests: TV declares minSdk 26; phone declares minSdk 27. Release manifest assertions also confirm the TV APK excludes torrent services while the phone APK retains them. No manifest minimum-SDK overrides were needed for dependencies.

  • Used the android-ui-verify skill on a fresh Android 8.0.0 / API 26 Google APIs arm64 emulator running the TV flavor. adb install succeeded; the installed package reports minSdk=26.

  • Visually checked the loaded home page, used D-pad Down/Center to open 孤独摇滚!, then selected Start watching. The player resolved an online source, rendered video and danmaku, and advanced to 00:59 / 23:41. D-pad Center displayed playback controls. No app fatal exception occurred. This is emulator coverage, not physical-TV or other-ABI coverage.

  • Emulator display: physical 1080×1920 at 420 dpi; overridden to 720×1280 at 160 dpi and used in landscape. Inspected screenshots of home, details, video, and playback controls; reset the display and stopped the emulator afterward.

  • lintTvDebug reports one existing NotificationPermission error involving shared ServiceNotification, plus 30 warnings. Re-ran with -Pandroid.min.sdk=27: the reports are byte-for-byte identical, with no NewApi findings at either minimum. Lint therefore remains blocked by that existing error.

  • git diff --check passed.
  • Screenshot upload failed: the github-image-upload skill's Chrome file chooser returned No node found for given backend id from fileChooser.setFiles. No attachment URL was produced, so this PR embeds no images. Verification screenshots remain outside the repository; no media files or image-hosting refs were committed or pushed.

    Diff: 271 lines (+203 / -68) across 3 files Reviewer: Him188 Review duration: 463m
    All Vouch review confidence checks passed
    Residual risk 0.17 = Change Risk (0.39) × (1 − Review Confidence (0.57)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.39 · 271 lines diff across 3 files
    0.39
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.17 · 1 substantive comment(s)
    0.17
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 35%
    56%
    Bedrock Claude 3 · Risk Narration
    (disconnected)
    Groq
    Groq Risk Narration
    AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
    Model 1 · Change Risk Attribution
    SHAP Weights
    Diff Size diff_size
    0.335
    Shallow Review Depth shallow_review_depth
    0.289
    Real PR Conversation Timeline
    1 comments
    "Review active on #3544"
    general weight: 0.35
    Reviewers
    Assignees
    Unassigned
    Labels
    risk: low confidence: 56.8% reviewed
    Vouch Risk Breakdown
    AI-powered review risk analysis
    Change Risk
    Change Risk · Model 1 (XGBoost)
    Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
    Score: 39.5% (MEDIUM) · Higher = larger blast radius
    39.5%
    Review Confidence
    Review Confidence · Models 2 & 3
    Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
    Score: 56.8% · Lower = rushed or shallow review
    56.8%
    Residual Risk
    Residual Risk · Core Equation
    Residual = Change × (1 − Confidence)
    Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
    Score: 17.1% · Safe to merge
    17.1%