Repository navigation
Fix camera, display, and fingerprint documentation (R062, pass 3) - #1944
Conversation
Co-authored-by: Copilot App <223556219+Copilot@users.nply.github.com>
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues block the documentation-only updates to Android API guidance.
No open issues 🎉
What changed in this PR
This documentation-only PR continues the corrections from #1750, refining Android camera, display, and fingerprint API guidance for .NET consumers. It updates 19 XML files without changing API definitions or runtime behavior.
Changes:
- Clarifies camera face landmarks, session parameters, output configurations, and tone-map channel values.
- Corrects display validation, defaults, lifecycle behavior, and Android version boundaries.
- Improves managed API links, JNI reference-handling descriptions, and fingerprint flag guidance.
| File | Description |
|---|---|
| docs/xml/Android.Hardware.Fingerprints/FingerprintManager+AuthenticationResult.xml | Clarifies JNI reference handling. |
| docs/xml/Android.Hardware.Fingerprints/FingerprintManager+AuthenticationCallback.xml | Clarifies JNI reference handling. |
| docs/xml/Android.Hardware.Fingerprints/FingerprintManager.xml | Clarifies JNI reference handling. |
| docs/xml/Android.Hardware.Fingerprints/FingerprintAuthenticationFlags.xml | Describes zero as recommended, not required. |
| docs/xml/Android.Hardware.Display/VirtualDisplayFlags.xml | Clarifies auto-mirroring authorization wording. |
| docs/xml/Android.Hardware.Display/VirtualDisplayConfig+Builder.xml | Corrects brightness defaults, refresh-rate behavior, and managed links. |
| docs/xml/Android.Hardware.Display/VirtualDisplay+Callback.xml | Clarifies JNI reference handling. |
| docs/xml/Android.Hardware.Display/VirtualDisplay.xml | Documents resize validation versions and retained surface values. |
| docs/xml/Android.Hardware.Display/DisplayManager.xml | Clarifies version boundaries and replaces Java references with managed links. |
| docs/xml/Android.Hardware.Display/DeviceProductInfo+EdidStructureMetadata+InterfaceConsts.xml | Links managed parcel methods. |
| docs/xml/Android.Hardware.Display/DeviceProductInfo+Builder.xml | Clarifies manufacture-date and model-year ranges. |
| docs/xml/Android.Hardware.Display/DeviceProductInfo.xml | Distinguishes constructor validation and stored video-input values. |
| docs/xml/Android.Hardware.Camera2.Params/TonemapCurve.xml | Explains packed color values used as channel indices. |
| docs/xml/Android.Hardware.Camera2.Params/SessionConfiguration.xml | Corrects callback wording and links the main executor. |
| docs/xml/Android.Hardware.Camera2.Params/OutputConfiguration.xml | Clarifies output format, deferred updates, and usage flags. |
| docs/xml/Android.Hardware.Camera2.Params/MultiResolutionStreamInfo.xml | Clarifies JNI reference handling. |
| docs/xml/Android.Hardware.Camera2.Params/Face+Builder.xml | Documents nullable landmarks and acceptance of ID zero. |
| docs/xml/Android.Hardware.Camera2.Params/Face.xml | Links managed confidence-score bounds. |
| docs/xml/Android.Hardware.Camera2.Params/ExtensionSessionConfiguration.xml | Clarifies when session parameters are ignored and adds managed links. |
Review effort: Balanced
|
@dalexsoto review |
|
In response to @jonathanpeppers's request: I have read the edits in all 19 files, but still need to check |
dalexsoto
left a comment
There was a problem hiding this comment.
Reviewed the 19 documentation files and relevant Java/.NET source paths, including ownership, callback construction, display resizing and refresh-rate behavior. No blocking issues found.
Agent assessment
Self-reported assessment, not an independent review.
Assessed revision:
60e60528f171b17fe5c5df9f52f55ae47dd2f317↑ XML, link, scope and byte-preservation checks passed.
↓ The available SDK source archive is r01, not r02.
Scope
Third-pass review of 68 files in
Android.Hardware.Camera2.Params,Android.Hardware.Display, andAndroid.Hardware.Fingerprints. This changes 48 documentation channels in 19 files.Rechecked pass-2 #1750: the snapshot active-array correction matches Android CTS. Its uncertain face-landmark nullability is resolved by the setter and
build()implementation: the setters accept null, andbuild()validates the combination.Corrections and evidence
The current Android source references below are from SDK source 37.2 r01, SHA-256
9d637c3af6654a2f1b696b3d19c54bb77e38df2b0106116934703f314b3d4e84. The bindings use r02; r01 was not used to override contradictory r02 binding facts.Face.java:160-179,282-294,395-416,433-496.ExtensionSessionConfiguration.java:176-211,SessionConfiguration.java:417-432,TonemapCurve.java:70-78,231-242, and managed Color marshaling.OutputConfiguration.java:626-630,853-936,1714-1730,1816-1830andCameraDeviceImpl.java:1267-1358,1508-1553.DeviceProductInfo.java:126-136,215-256,305-315,424-430,587-590andParcelable.java:102-110,166-183.VirtualDisplay.java:43-60,76-81,103-107.VirtualDisplayConfig.java:468-469,628-645,722-745,774-779and Android 16 SurfaceFlinger.DisplayManager.java:164-176,348-381,771-778,1392-1498,1745-1784,VirtualDisplayConfig.java:435-445,543-552,600-614,752-758, and Android 15 display service.FingerprintManager.java:572-575,614-622; managed Object and JNIEnv.Review coverage
gemini-4-argonreview of this commit found no actionable issues; model use was verified in local usage events.Uncertain findings
None.
Checks
creftargets and rangit diff --check.