Skip to content

Auto Publish – main to live - 2026-11-28 05:00 UTC - #1956

Open
learn-build-service-prod[bot] wants to merge 83 commits into
livefrom
main
Open

learn-build-service-prod[bot] wants to merge 83 commits into
livefrom
main

Conversation

@learn-build-service-prod

Copy link
Copy Markdown
Contributor

This PR was automatically created by Auto Publish system to publish changes from the main branch to the live branch.

jonathanpeppers and others added 30 commits November 27, 2026 05:52
…1941)

* Fix JniHandleOwnership parameter description in LocationButtonProviderFactory (R060)

The activation constructor always copies the JNI reference and releases the passed handle as the transfer value specifies, so ownership does not transfer to the instance.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

* Fix OnSessionError close claim in ILocationButtonClient (R060)

LocationButtonClientWrapper reports a dialog start failure through onSessionError without closing the session, so the remarks no longer say the session is always closed.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Correct camera parameter, display, and fingerprint documentation.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
* Fix Java.Util documentation errors (R059, pass 3)

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

* Correct locale separator handling

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
* Fix truncated KeyPickImagesHighlightType summary in MediaStore (R063, pass 3)

The summary stopped at 'i.' because the sentence split treated 'i.e.' as the end of the sentence. Use the full first sentence from MediaStore.java:1344-1348 (android-37.2_r01).

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

* Restore original indentation of KeyPickImagesHighlightType summary line

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
* Fix PDF and text documentation errors (R064)

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

* Clarify filtered PDF widget indices

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
…68, pass 3) (#1949)

Throwable.SetHandle (dotnet/android 9bc18c75 Throwable.cs L99-110) copies the reference and then calls JNIEnv.DeleteRef(value, transfer), so transfer controls handling of the incoming JNI reference.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
* Fix Java.Interop documentation errors (R072)

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

* Clarify peer disposal for servicing releases

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

* Clarify the generic invoker exception condition

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
…s 3) (#1955)

SdkExtensions.java:124,127-128 throws IllegalArgumentException for identifiers below VERSION_CODES.R. The method returns 0 only for identifiers at R or higher with no version (line 155). Add the missing exception tag.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
* Fix OffsetDateTime comparison return docs

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

* Fix Java.Time documentation errors (pass 3)

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

* Clarify Instant.Get behavior on Android 8 through 12

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

* Correct temporal query and month-day adjustment docs

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

* Correct Instant addition unit descriptions

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

* Correct Instant and JNI documentation

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

* Correct LocalDate and LocalTime arithmetic documentation

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

* Correct Java time arithmetic and comparison documentation

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
* Fix Android Security documentation errors

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

* Fix KeyChain availability version ranges

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Review pass 3 item R027 against Android and managed binding sources.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
…1958)

The JniHandleOwnership value controls how the runtime releases the incoming JNI reference and whether it registers the peer. The peer always copies the reference.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
The timed wait times out only if the barrier is neither tripped nor broken.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Remove an unsupported Android 16 and 17 qualifier from three ResponderLocation uncertainty notes, and correct the transfer parameter text in three constructors.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
- transfer param: the peer copies the JNI reference; the transfer value
  controls release of the incoming handle and peer registration
  (Object.cs:110-118, JNIEnv.cs:360-372,380-393).
- text param of DrawLeadingMargin/DrawBackground string overloads: Layout
  passes its full text, not the line's text (Layout.java:777,864-871,
  962,1009-1011; LeadingMarginSpan.java:63; LineBackgroundSpan.java:45).

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
… (R081, pass 3) (#1960)

* Fix documentation errors in Android.Hardware.Hid and Lights (R081, pass 3)

- HidDevice.Open: callback.OnResult is posted to the executor, not invoked
  immediately (HidDevice.java:333-335).
- HidDevice.GetFeatureReport/SendFeatureReport/SendOutputReport: the error
  list is not complete; other exceptions such as RemoteException reach
  OnError (HidDevice.java:487-488, 585-586).
- HidManager.RegisterListener: OnHidDeviceAdded is posted to the executor
  (HidManager.java:238-239, 355).
- HidManager.UnregisterListener: a callback already started can still run
  (HidManager.java:268, 355-366).
- IHidEventListener.OnError: OnDisconnected follows asynchronously through
  close() (HidDevice.java:1098-1099, 609-616, 639-641).
- ColorSequence.DurationMillis: the long sum can overflow, so the value is
  not always non-negative (ColorSequence.java:201, 318-322).

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

* Remove unsupported non-negative claims from Lights duration docs

ColorSequence(Parcel) at ColorSequence.java:94-98 and Light(Parcel) at
Light.java:159-171 read the delays and the minimum update period without
validation, so GetDelaysMillis and MinUpdatePeriodMillis can return a
negative value.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

* Light.Type: do not present the LightType list as complete

Light.java:118-127 (@IntDef LightType) also allows LIGHT_TYPE_KEYBOARD_MIC_MUTE and LIGHT_TYPE_KEYBOARD_VOLUME_MUTE, and getType returns mType read from the parcel without validation (Light.java:163, 286-287).

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

* HidDevice.Open: do not present the OnError exception list as complete

toMappedException (HidDevice.java:370, 705-725) can also deliver IllegalArgumentException or IllegalStateException, so the list is examples only, as in the sibling GetFeatureReport and Send* remarks.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
* Fix MotionState motion value references in Android.Ranging docs (R087)

The constructor parameter and GetMotionState return text kept Javadoc {@link #MOTION_*} syntax as literal <c>#MOTION_*</c> text. The managed MotionState.Motion* fields have [Obsolete(..., true)], so the text now references the Android.Ranging.RangingMotion fields and states the int conversion.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

* Fix RangingData.DistanceStandardDeviationMeters range in docs (R087)

The remarks said the value is positive. RangingData.Builder.setDistanceStandardDeviation throws only for values < 0 (RangingData.java:479-480), the constructor copies the value (line 68) and the getter returns it unchanged (line 197), so 0 can be returned.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
FindClass/TryFindClass classname: dot-separated names are not supported on all frameworks.
RegisterNatives type: the class reference is always used and must be valid.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
The summary and remarks stated the layout |a c e| / |b d f|. The pinned implementation stores the coefficients as {a, e, d, c, b, f} at Matrix indexes 0-5 and concatenates the result after the current matrix. Replace the wrong layout text; the parameter docs already give each index.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
- KeyStore.GetInstance(File, ILoadStoreParameter): describe the per-type,
  most-preferred-provider probe that the pinned source uses.
- IDomainCombiner.Combine: remove claims that no pinned Android source
  supports; note that the Android SubjectDomainCombiner returns null.
- IPrivilegedAction.Run and IPrivilegedExceptionAction.Run: replace
  OpenJDK-only returns text with the result that doPrivileged returns.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
jonathanpeppers and others added 30 commits November 28, 2026 12:24
* Fix documentation errors in Android.Content (R099, pass 3)

Correct AI-added text that pinned AOSP sources contradict: AttributionSource.Builder PID default, ContentProvider.OnLowMemory API 34 note, ContentValues GetAs* null returns, UpdateBindingParams.Flags nullability, UpdateableFlags list, ContextWrapper.CreateContextForSplit and WALLPAPER_SERVICE, FileCreationMode world-access target SDK qualifier.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

* Fix Context.IsUiContext StrictMode violation wording

StrictMode reports IncorrectContextUseViolation through VmPolicy penalties and does not throw it (StrictMode.java:2713-2715, 2900-2960).

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

* Match Context.IsUiContext remarks to StrictMode behavior

The remarks also said the access throws a Violation. StrictMode reports it through VmPolicy penalties (StrictMode.java:2713-2715, 2900-2960).

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
* Fix unsupported OpenGL documentation claims (R075, pass 3)

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

* Restore matrix palette size minimum from specification table

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

* Retain EGL renderbuffer completeness required by pinned sources

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
* Fix transfer param docs in Android.Media.Quality callbacks (R115)

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

* Fix ParameterCapability.ParameterType value docs (R115)

The service reports None when the HAL capability has no default value, independent of isSupported.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

* Fix ParameterCapabilityType remarks about None (R115)

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
…ion (#1994)

net-android 34.0 (Java.Interop 3c5cf34b) has no JniConstructorSignatureAttribute;
only JniMethodSignatureAttribute derives from JniMemberSignatureAttribute there.
The type remarks and MemberName remarks described the constructor attribute as
present in every version.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Java.Lang.Object makes its own peer reference; transfer selects release of the incoming reference and peer registration (dotnet/android@9bc18c75 Object.cs:110-118, JNIEnv.cs:360-393).

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
#1997)

Replace raw Class#MEMBER link text with crefs or dotted names, and fix
the EmbeddedBiometricPrompt.AuthSessionId value text (unset value is -1).

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
…(R116) (#1995)

- Throwable-derived exception constructors: transfer controls release only.
- KeyStorePurpose.AgreeKey and KeyStoreSecurityLevel.UnknownSecure: use crefs.
- KeyProtection.Builder.SetMgf1Digests: Set.of rejects a null array.
- NetworkSecurityConfig.DomainEncryptionMode: replace raw Class#member text.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Replace raw Javadoc link text with crefs, drop a link to the obsolete UiccCardInfo.IccId, and correct the transfer parameter text for JNI constructors.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
…1999)

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
…, Util (R119, pass 3) (#1998)

* Fix documentation errors in Org.Apache.Http.Message (R119, pass 3)

- HeaderGroup.Iterator(String): returns covers the name filter.
- AbstractHttpMessage.HeaderIterator(): returns covers all headers.
- BasicHeaderValueParser.ParseElements: returns notes empty elements are skipped.
- BasicHeaderValueParser and BasicNameValuePair: correct the transfer parameter.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

* Fix two unsupported return/value claims in Org.Apache.Http docs

IHeaderValueParser.ParseElements: drop 'All'; the interface does not
promise that every element in the buffer is parsed.
HttpDateGenerator.CurrentDate: drop the null clause; getCurrentDate
formats text on the first call because dateAsLong starts at 0.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

* Fix parameterless iterator summaries in Org.Apache.Http.Message

AbstractHttpMessage.HeaderIterator() and HeaderGroup.Iterator() take no
name, but their summaries said they return headers with a given name.
Use the pinned Javadoc: HttpMessage.java:166 and HeaderGroup.java:259.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
…d Android.Nfc.Tech (R123, pass 3) (#2001)

* Fix documentation errors in Android.Nfc, Android.Nfc.CardEmulators and Android.Nfc.Tech (R123, pass 3)

- Correct the transfer parameter text in BasicTagTechnology and HostNfcFService.
- Replace AI-added raw Java link text in NfcAdapter with exact crefs.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

* Explain JNI reference deletion and peer registration for transfer params (R123)

The peer always copies the reference (dotnet/android@9bc18c75 JNIEnv.cs:381-392). transfer selects deletion of the incoming reference (Object.cs:118, JNIEnv.cs:360-371) and peer registration (JNIEnv.cs:390-392).

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
…ng.Wifi.Rtt (R124, pass 3) (#2002)

- Replace raw #describeContents()/#writeToParcel link text with IParcelable crefs.
- List the PASN mode codes for WifiPdRangingCapabilities.SupportedPasnModes.
- Document the update-rate codes for WifiPdRangingParams.RangingUpdateRate and Builder.SetRangingUpdateRate.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
#2003)

- Replace raw Java link text with crefs in AI-changed text
  (InterfaceConsts describeContents/writeToParcel, SortDirection,
  MathAttributeArg, SelectionPosition offset types,
  ActionArgumentSelectionParcelable).
- Correct the WriteToParcel recycle note: the instance is recycled
  only on Android 12L (API 32) and earlier.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Remove behavior that exists only in the newest AndroidMessageHandler code from docs that also apply to the net-android-34.0/35.0/36.x indexes, and state that a custom SSL socket factory does not skip the hostname verifier.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Replace raw Java member text with crefs, fix the ActivityOptions deprecation level, and link AnrTypes service callbacks.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
The managed FromContext uses 'as Vibrator' and returns Vibrator?, so it can return null.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
…R133) (#2010)

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>
* Fix documentation errors in Android.Content (R132, pass 3)

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

* Clarify MatchResults mask wording

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

* Separate MatchResults masks from returned values

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Correct JNI reference handling, managed links, list-adapter descriptions, serialization wording, and unsupported keyguard deprecation dates.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Correct the Rectangle.Union overflow and RectangleF.Intersect rounding descriptions.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
* Fix documentation errors in Android.Webkit (R135, pass 3)

- GeolocationPermissions: replace raw Java link text with IValueCallback.OnReceiveValue cref.
- WebViewClient: replace raw VERSION_CODES link text with BuildVersionCodes crefs.
- IUrlInterceptHandler: remove an unsupported null condition from the headers param.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

* Replace obsolete WebSettings.ForceDark crefs in ForceDarkMode docs (R135)

The ForceDarkMode summaries linked to WebSettings.ForceDark, which is ObsoletedOSPlatform(android33.0). Point to AlgorithmicDarkeningAllowed, the replacement that the Java setForceDark deprecation text names, and state the API 33 no-op behavior from that text.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

* Clarify AlgorithmicDarkeningAllowed scope in ForceDarkMode docs (R135)

Algorithmic darkening applies only when the app theme is dark, and only to content without its own dark styles that does not disable darkening (WebSettings.java:1633-1635). Addresses Copilot review.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
* Fix Android.App documentation errors (R129, pass 3)

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

* Fix broken grammar in IOnOpActiveChangedListener virtual-device callback docs (R129)

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

* Remove activity requirement from warm-start documentation

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
… 3) (#2016)

* Fix documentation errors in Android.AccessibilityServices (R136, pass 3)

Correct the transfer parameter text for Object-derived types and replace raw Javadoc link text with crefs or plain text.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

* Describe MotionEventSources as a property in OnMotionEvent remarks

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
- IntProperty, FloatProperty: correct the transfer parameter text.
- Replace raw Javadoc #member link text with crefs in ArrayMap, ArraySet,
  AtomicFile, JsonReader, Log, LruCache, Patterns, Property, Range and
  TypedValue.
- Patterns: remove a cref to an obsolete member.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
* Fix documentation errors in Android.Graphics (R138, pass 3)

- RuntimeShader.SetWorkingColorSpace: remove raw link text ColorSpace#getModel().
- RecordingCanvas.DrawTextRun: name existing overloads Paint.getRunAdvance(char[], ...)
  and drawText(char[], ...) instead of nonexistent char overloads.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

* Fix SurfaceTexture and RecordingCanvas docs from R138 ledger audit

- SurfaceTexture: FrameAvailable, IsReleased, SetDefaultBufferSize and
  Timestamp text now match the pinned Javadoc.
- RecordingCanvas.DrawPosText(String,...): pos covers every UTF-16 code
  unit in text, not a selected range.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
…2020)

Replace raw Javadoc link text with crefs and correct the AppFunctionUriGrant.ModeFlags value range.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
…evice docs (R144, pass 3) (#2021)

Replace raw writeToParcel(Parcel,int) and CONTENTS_FILE_DESCRIPTOR text with crefs to the .NET members.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant