Repository navigation
Fix Android resource documentation errors (R004, pass 3) - #1891
Open
jonathanpeppers wants to merge 2 commits into
Open
jonathanpeppers wants to merge 2 commits into
jonathanpeppers wants to merge 2 commits into
Conversation
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
There was a problem hiding this comment.
🔵 Needs a closer look
The release boundaries across 167 resource summaries require human verification because the pinned historical Android sources and API 37.2 archives were unavailable for independent inspection.
No open issues 🎉
What changed in this PR
This documentation-only PR corrects 167 Android resource summaries by qualifying implementation details with the Android releases where they apply, avoiding claims that newer resource settings also describe older platforms.
Changes:
- Add release ranges to 163 style summaries covering device-default, media-button, and widget settings.
- Qualify four drawable summaries to distinguish newer vector and adaptive icons from older bitmap resources.
- Limit the descriptions to base platform resources through API level 37.2.
| File | Description |
|---|---|
docs/xml/Android/Resource+Style.xml |
Adds release-specific qualifications to style settings and inheritance descriptions. |
docs/xml/Android/Resource+Drawable.xml |
Clarifies release ranges for power, mute, speakerphone, and default application icon formats. |
Review effort: Balanced
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Member
Author
|
@dalexsoto review |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Agent assessment
Self-reported assessment, not an independent review.
Assessed revision:
d22c57df50712799de309f13ba273f3ad5a6f850↑ Parsed all scoped XML files and checked bytes outside the corrected summaries.
↓ Some early SDK revisions and intermediate releases were unavailable or not sampled; device overlays were not exhaustively tested.
Changes
The third-pass inventory contains 1,948 AI-changed documentation blocks across 22 Android resource files since
86f7744a1. This PR corrects 210 summaries in two files: 204 version-qualified style descriptions, two other style descriptions, and four drawable descriptions.WidgetAutoCompleteTextViewdrop-down resources as platform resources rather than themed resources. DescribeWidgetDatePickerby its spinner controls rather than claiming that the older styles set a spinner-mode attribute.The Android 3.0 r02 SDK has SHA-256
1cacae7b6e1b5a5d73c06f5d29d2ea92d16674df8fd5507681290e77d1647a1c; 3.1 r03 has7570c86a86488a146aa2141a65a24d81800959c1907ff4f1d2c13bbafab230c5; 3.2 r01 hasff6b26ad34d7060a72ba504b0314cef8ba3138005561705adec5ad470a073d9b. The API 37.2 r01 platform archive has SHA-256916410633df92a98da56aa7c87a1955f865f4d3b888373660794ef8173f72972; the r02 platform archive has17af98ec1427a1fed9ea278184aba71e53b87eca103655602f9fc64ef11ea4d3. The r01 source archive has9d637c3af6654a2f1b696b3d19c54bb77e38df2b0106116934703f314b3d4e84.Uncertain findings
IcInputGet: the bitmap could show a clipboard, but the object is not definitive.StatNotifyMissedCall: the bitmap could be described as a chevron or a bent arrow; the distinction is subjective.Checks and limits
git diff --checkpassed.