Skip to content

fix(android): 修正相機喚醒後能力與取景位置 - #176

Merged
js051 merged 1 commit into
mainfrom
fix/android-camera-session-resilience
Aug 23, 2026
Merged

fix(android): 修正相機喚醒後能力與取景位置#176
js051 merged 1 commit into
mainfrom
fix/android-camera-session-resilience

Conversation

@js051

@js051 js051 commented Aug 23, 2026

Copy link
Copy Markdown
Owner

Scope

  • 保留相機暫時忙碌或剛喚醒時最後一次有效的 shooting settings,避免一次刷新失敗就把曝光能力永久降級。
  • 僅在相機實際公告同版本 GET/PUT 時,從 ISO、Tv、Av、WB 個別端點恢復主要曝光控制。
  • 將 Live View、Tap Focus、監看 overlay 與快門回饋限制在頂部狀態列和底部控制列之間的共同 viewport,修正畫面偏移與座標不一致。

Evidence

  • Canon EOS R6 Mark III 經 developer-list fallback 公告 4 個 protocol versions、246 個有效 operations。
  • 實體 HTC U24 Pro 在相機喚醒後走 production CCAPI path,成功讀取 ISO 25600、Tv 1/125、Av f4.0、WB colortemp,以及 31/55/16/13 個 ability values。
  • 實體手機成功解碼 multipart JPEG;驗證紀錄更新於 docs/validation/eos-r6-mark-iii-android-ccapi.md
  • 未保留相機序號、手機識別碼、SSID、network handle、媒體檔名或實機 frame。

Validation

  • Focused tests added or updated
  • Relevant local checks run
  • No credentials, serials, diagnostic dumps, or machine-local paths added
  • Unsupported capabilities remain hidden or explicitly limited

Local checks:

  • :app:testDebugUnitTest
  • :app:lintDebug
  • :app:assembleDebug
  • HTC U24 Pro physical direct-CCAPI connection and decoded Live View
  • Gitleaks staged diff and complete 450-commit history

Device Status

  • Deterministic simulator/fixture validation only
  • Physical-device evidence attached and verified
  • No physical-device claim in this PR

Non-Goals

  • 不宣稱既有 session 穿越完整睡眠/喚醒週期後可自動重連。
  • 不宣稱 Android 實機曝光寫入、拒絕回復延遲或其他狀態變更操作已通過。
  • 不變更 iOS 或 PC 的畫面布局。

Release Assessment

  • Latest release baseline: v0.6.1
  • Target release channel: development preview
  • Proposed impact: patch
  • User/tester value or distribution reason: 修正 Android 真機喚醒後曝光控制可能消失,以及 Live View 在相機控制畫面內偏移的可見問題;合併並通過 main acceptance 後應發布可覆蓋安裝的 v0.6.2 APK。
  • Unresolved release blockers: none(仍須完成 exact PR SHA CI 與 main acceptance)
  • Physical-device status: docs/validation/eos-r6-mark-iii-android-ccapi.md#2026-08-24-camera-wake-and-viewport-pass

@js051
js051 merged commit ee7f318 into main Aug 23, 2026
11 checks passed
@js051
js051 deleted the fix/android-camera-session-resilience branch August 23, 2026 19:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant