From 4ed721c97ad3df3a09fbd2fdfe6acaee1699a3e4 Mon Sep 17 00:00:00 2001 From: Jonathan Peppers Date: Sat, 28 Nov 2026 04:17:30 -0600 Subject: [PATCH 1/2] Fix transfer parameter docs in Android.Health.Connect (R093) Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> --- docs/xml/Android.Health.Connect/HealthConnectException.xml | 2 +- docs/xml/Android.Health.Connect/HealthConnectManager.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/xml/Android.Health.Connect/HealthConnectException.xml b/docs/xml/Android.Health.Connect/HealthConnectException.xml index df9a172c0..37041e97c 100644 --- a/docs/xml/Android.Health.Connect/HealthConnectException.xml +++ b/docs/xml/Android.Health.Connect/HealthConnectException.xml @@ -62,7 +62,7 @@ A JNI reference to the Java object. - Specifies whether ownership of the JNI reference transfers to this instance. + Specifies how the runtime handles the JNI reference, including its release and peer registration. Creates a managed instance that represents an existing Java object. The runtime calls this constructor to create a managed representation of an existing Java object. diff --git a/docs/xml/Android.Health.Connect/HealthConnectManager.xml b/docs/xml/Android.Health.Connect/HealthConnectManager.xml index bf1db7765..29969d1be 100644 --- a/docs/xml/Android.Health.Connect/HealthConnectManager.xml +++ b/docs/xml/Android.Health.Connect/HealthConnectManager.xml @@ -72,7 +72,7 @@ A JNI reference to the Java object. - Specifies whether ownership of the JNI reference transfers to this instance. + Specifies how the runtime handles the JNI reference, including its release and peer registration. Creates a managed instance that represents an existing Java object. The runtime calls this constructor to create a managed representation of an existing Java object. From d23f6f72071f84e47d50c299ecbe5354ac63ef43 Mon Sep 17 00:00:00 2001 From: Jonathan Peppers Date: Sat, 28 Nov 2026 04:26:26 -0600 Subject: [PATCH 2/2] Narrow HealthConnectException transfer param text (R093) Throwable.SetHandle always copies the reference; transfer only controls its release. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> --- docs/xml/Android.Health.Connect/HealthConnectException.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/xml/Android.Health.Connect/HealthConnectException.xml b/docs/xml/Android.Health.Connect/HealthConnectException.xml index 37041e97c..c93013798 100644 --- a/docs/xml/Android.Health.Connect/HealthConnectException.xml +++ b/docs/xml/Android.Health.Connect/HealthConnectException.xml @@ -62,7 +62,7 @@ A JNI reference to the Java object. - Specifies how the runtime handles the JNI reference, including its release and peer registration. + Specifies how the runtime releases the incoming JNI reference after the instance copies it. Creates a managed instance that represents an existing Java object. The runtime calls this constructor to create a managed representation of an existing Java object.