Repository navigation
Import official documentation for Android.AdServices.Common - #777
Conversation
Replace 82 exactly matched documentation placeholders across 14 XML files. Preserve authored content and retain 275 unresolved channels where official sources or structural registrations do not provide safe matches. Related to #55 Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
|
@dalexsoto review |
There was a problem hiding this comment.
Copilot review overview
🟡 Changes recommended
The PR’s Fixes: #55 keyword would close an issue that the stated partial scope requires to remain open.
Review effort: Balanced
Findings: 1
Open (1)
What changed in this PR
Imports 82 official Android documentation channels for Android.AdServices.Common while preserving unresolved placeholders.
Changes:
- Documents builder setters and component-ad APIs.
- Documents Parcelable methods and parameters.
- Documents the projected
AdEventType.Winconstant with attribution.
| File | Description |
|---|---|
AdData+Builder.xml |
Documents five builder setters. |
AdData.xml |
Documents Parcelable methods. |
AdEventType.xml |
Documents the Win enum value. |
AdFilters+Builder.xml |
Documents filter setters. |
AdFilters.xml |
Documents Parcelable methods. |
AdSelectionSignals.xml |
Documents Parcelable methods. |
AdTechIdentifier.xml |
Documents Parcelable methods. |
AppInstallFilters+Builder.xml |
Documents the package-name setter. |
AppInstallFilters.xml |
Documents Parcelable methods. |
ComponentAdData.xml |
Documents construction, accessors, and Parcelable methods. |
FrequencyCapFilters+Builder.xml |
Documents event-specific cap setters. |
FrequencyCapFilters.xml |
Documents Parcelable methods. |
KeyedFrequencyCap+Builder.xml |
Documents frequency-cap setters. |
KeyedFrequencyCap.xml |
Documents Parcelable methods. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
dalexsoto
left a comment
There was a problem hiding this comment.
The AdServices Common imports match their registered members and projected constant owners, preserve authored content and API metadata, and retain source references and attribution through the established member and enum publishing paths. The non-closing issue reference and explicitly acknowledged source-fidelity choices are respected; no independent blocking regression remains.

Related to #55
Scope and coverage
Import every safely matching official Android reference documentation channel for exactly
Android.AdServices.Common, usingtools/importer.cswithout changing its matching rules. This is partial coverage, not completion of the namespace issue.Baseline:
fbcc13f05d93195182e95685e520f1b198504467. Across all 24 namespace type XML files anddocs\xml\ns-Android.AdServices.Common.xml, true placeholder-bearing directDocschannels decrease 357 -> 275, a net reduction of 82 (23.0%). 14 XML files change, with 225 insertions / 82 deletions.These imports cover builder setters, component-ad construction and accessors, declared parcelable members, and the source-registered
AdEventType.Winconstant. All source references use exact official declarations, including constructor/parameter descriptors and theFrequencyCapFilters.AD_EVENT_TYPE_WINowner for the projected enum constant. New remarks and the enum summary retain Android source references and CC BY 2.5 attribution. Existing non-placeholder documentation and API metadata remain unchanged; there is no inherited-member guess, AOSP fallback, invented prose, or manual placeholder replacement.docs\xml\Android.AdServices.CommonRemaining documentation gaps
Zero safe candidates does not mean zero placeholders. Remaining channels: 81 summaries, 78 remarks, 20 returns, 68 values, and 28 parameters.
The official
AppInstallFilters.Builder#setPackageNames(java.util.Set<java.lang.String>)description says “Gets the list…” even though it describes a setter. That upstream wording is preserved and explicitly flagged here, rather than replaced with invented prose. The existing missing terminal punctuation inAdData.Builder#setAdRenderId(java.lang.String)is also preserved.Import and validation evidence
git diff --check.--self-test: PASS.Docschannels and API metadata are preserved, source links/attribution are accurate, and all 275 residual channels are accounted for. Generatedindex.xml,_filter.xml,FrameworksIndex, the namespace XML, and other namespaces remain untouched.Reproduce the final scans from the repository root with a fresh cache outside the checkout:
The high limit above is dry-run only, not apply permission. All actual apply operations used
--max-changes 10with both the exact path and namespace scope. No closing keywords are intended; #55 must remain open for unresolved coverage.