You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 94cf7fd
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: .changeset/foldable-scoped-rotation.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,6 +2,6 @@
2
2
'agent-device': patch
3
3
---
4
4
5
-
Fix foldable iPhone simulator rotation in scoped sets and confirm the lit panel in both default and scoped sets. Both routes use the fold helper, with no CoreDevice orientation polling. An already visible target dispatches nothing. Incomplete, unknown-power and multi-lit panel tables neither confirm nor dispatch. A target the panel never shows fails with `orientation-unverified`.
5
+
Fix foldable iPhone simulator rotation in scoped sets and confirm the lit panel in both default and scoped sets. Rotation in both sets uses the fold helper, with no CoreDevice orientation polling. An already visible target dispatches nothing. Incomplete, unknown-power and multi-lit panel tables neither confirm nor dispatch. A target the panel never shows fails with `orientation-unverified`.
6
6
7
7
Use the fixed iPhone Duo picker offsets measured in both sets (outer 0 degrees, inner +90 degrees), replacing runtime calibration. Inner landscape-left sends `portrait-upside-down`, mapped to the HID wire value `pud`; it remains unsupported as a user target. Delayed reads wait without resending the same picker value to the same panel.
Copy file name to clipboardExpand all lines: docs/adr/0025-foldable-apple-panels.md
+5-2Lines changed: 5 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -58,7 +58,8 @@ It is the only reader of panel tables, and it selects the source.
58
58
For a simulator in a scoped set, the fold helper's `panels` mode is the screen authority.
59
59
It emits the same entry shape from the guest sources that `dtdeviceinfod` relays to CoreDevice: `CADisplay` and `BLSBacklight`.
60
60
The guest lists every integrated panel and omits only the facts it cannot read.
61
-
Foldable `fold` and `orientation` operations use the guest table in either simulator set.
61
+
Fold pose and rotation lit-panel reads explicitly request the guest table in either simulator set.
62
+
Panel-count classification keeps the set-based source: CoreDevice in the default set, guest in a scoped set.
62
63
Rotation confirms the lit panel because CoreDevice orientation can match the picker while the visible panel shows another orientation.
63
64
-**Completeness.**
64
65
Both sources list one entry per integrated panel. A panel that the parser drops is not single-panel evidence.
@@ -374,7 +375,9 @@ Rejected alternatives:
374
375
`orientation` therefore rotates a multi-panel simulator through the guest device-state control: the HID event that Device Hub's orientation menu sends (`orientation-picker-control`, type `enum`).
375
376
The picker accepts `pud` for upside-down dispatch, which the inner panel needs to show landscape-left.
376
377
The user target `portrait-upside-down` remains refused with `unsupported-foldable-orientation`.
377
-
Routing uses the `fold` admission and the panel table. A resolved panel count is a hardware fact, so the daemon probes each simulator once.
378
+
Routing uses the `fold` admission and the set-based panel-count source. A resolved panel count is a hardware fact, so the daemon probes each simulator once.
379
+
A supplied helper is a reuse handle; only an explicit guest-source request changes the default-set source.
380
+
Thus, classifying a single-panel default-set simulator does not prepare the fold helper.
378
381
379
382
Verification was updated on 2026-11-12 under [#4440](https://github.com/callstack/agent-device/pull/4440).
380
383
In both simulator sets, the helper reads the guest panel table and dispatches the fixed picker value for the established lit panel.
0 commit comments