Repository navigation
Fix documentation errors in Android.Hardware.Biometrics (R133, pass 3) - #2010
Merged
jonathanpeppers merged 1 commit intoNov 28, 2026
Merged
Conversation
…R133) Replace raw #describeContents() and #writeToParcel text with crefs to FallbackOption.DescribeContents and FallbackOption.WriteToParcel. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
There was a problem hiding this comment.
🟢 Approval recommended
There are no active review issues for this documentation-only link cleanup.
No open issues 🎉
What changed in this PR
Corrects leftover Java-style link text in the Android Biometrics API documentation, following the approach used in #1997. These are documentation-only changes; runtime behavior is unchanged.
Changes:
- Replaces raw
#describeContents()text with links toFallbackOption.DescribeContents. - Replaces raw
#writeToParceltext with links to the managedWriteToParceloverload in both summaries and remarks.
| File | Description |
|---|---|
| docs/xml/Android.Hardware.Biometrics/FallbackOption+InterfaceConsts.xml | Converts four raw method references into managed API documentation links. |
Review effort: Balanced
Member
Author
|
@dalexsoto review |
dalexsoto
approved these changes
Nov 28, 2026
dalexsoto
left a comment
Member
There was a problem hiding this comment.
Reviewed at d5e5aeb. The four raw #describeContents()/#writeToParcel leftovers are now crefs that resolve exactly to FallbackOption.DescribeContents and FallbackOption.WriteToParcel(Parcel, ParcelableWriteFlags) DocIds, consistent with #1997. XML is well-formed and the base-side change (#2007) does not overlap. LGTM. Static review only.
jonathanpeppers
deleted the
jonathanpeppers-review-hardware-biometrics-docs-r133
branch
November 28, 2026 20:39
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:
d5e5aeba11d6e9909e8693840d5ca354e318fe4e↑ Same fix as the #1997 precedent for other Biometrics InterfaceConsts files.
↑ XML parses;
git diff --checkis clean; gemini-4-argon rubber duck found no issues.↓ OpenPublishing.Build result not yet inspected.
{@link #describeContents()}and{@link #writeToParcel}in Parcelable.java:166 and :103.#memberlink text is a known pass-3 error pattern.↓ No user report; found by review.
Pass-3 review of AI-changed documentation for item R133 (12 files in
docs/xml/Android.Hardware.Biometrics): FallbackOption (+InterfaceConsts), PromptContentItemBulletedText (+InterfaceConsts), PromptContentItemPlainText (+InterfaceConsts), PromptContentViewWithMoreOptionsButton (+Builder, +InterfaceConsts), PromptVerticalListContentView (+Builder, +InterfaceConsts).Scope
Channels changed in
git diff 86f7744a1 origin/mainfor these files: 193 channels. All 193 are reviewed one by one, each with a verdict and a numeric pinned source line (193 of 193). This includes the 73 generated binding channels (ThresholdClass,ThresholdType,JniPeerMembers,IJavaPeerable.UnregisterFromRuntime), which are checked against the dotnet/android@9bc18c75 generator and runtime sources. They are correct and are not changed.FallbackOption.xmlandFallbackOption+InterfaceConsts.xmlare new since 86f7744, so all of their channels are in scope.Fix
FallbackOption+InterfaceConsts.xml:ContentsFileDescriptorandParcelableWriteReturnValuesummary and remarks had raw<c>#describeContents()</c>and<c>#writeToParcel</c>text. This is leftover{@link #describeContents()}/{@link #writeToParcel}fromandroid.os.Parcelable(Parcelable.java:166, :103). They are now crefs toFallbackOption.DescribeContentsandFallbackOption.WriteToParcel(Parcel, ParcelableWriteFlags)(FallbackOption.java:64, :69). This is the same change #1997 made in other Biometrics InterfaceConsts files.The same raw text in the other four InterfaceConsts files and
Builder#setDescription/Builder#addListItemtext in PromptVerticalListContentView.xml and PromptContentViewWithMoreOptionsButton.xml is pre-AI (not changed since 86f7744), so it is not changed here.Verified claims (not changed)
IllegalArgumentExceptionfor descriptions over 225 characters and for plain or bulleted items over 640 characters; 15.0.0_r2, r36, 16.0.0_r1 and 17.0.0_r1 only log a warning. The item-count check (size() > 20) throws in all versions, after the item is added (PromptVerticalListContentView.java:176-177, 191-192, 201).MoreOptionsButtonListenercan be null after unparceling: the parcel constructor reads only the description (PromptContentViewWithMoreOptionsButton.java:80), although the getter is annotated@NonNull.Requires Manifest.permission.SET_BIOMETRIC_DIALOG_ADVANCEDmatches@RequiresPermission(PromptContentViewWithMoreOptionsButton.java:102, 153, 172).@IconTypeIntDef (BiometricManager.java:189-197).Uncertain findings
None.
Note: FallbackOption
iconTypelists use Java namesBiometricManager.ICON_TYPE_*because the managed parameter and property areint. This matchesBiometricPrompt+Builder.xml(kept in #1997). It is not false, so it is not changed.Checks
git diff --checkis clean; no newTo be addedplaceholders.index.xml,_filter.xmlorFrameworksIndex.