From bbc1c211499ded47bec023d834ae84c7d58c2685 Mon Sep 17 00:00:00 2001 From: Jonathan Peppers Date: Sun, 16 Aug 2026 21:27:18 -0500 Subject: [PATCH 1/2] Document inspector API contracts Refs #243 Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> --- docs/xml/Android.Views.Inspectors/IntFlagMapping.xml | 8 ++++---- docs/xml/Android.Views.Inspectors/WindowInspector.xml | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/xml/Android.Views.Inspectors/IntFlagMapping.xml b/docs/xml/Android.Views.Inspectors/IntFlagMapping.xml index c8362c583..d3688f53d 100644 --- a/docs/xml/Android.Views.Inspectors/IntFlagMapping.xml +++ b/docs/xml/Android.Views.Inspectors/IntFlagMapping.xml @@ -106,8 +106,8 @@ The bit mask to compare to and with a value The target value to compare the masked value with - The name of the flag to include if enabled - Add a mutually exclusive flag to the map. + The non-null name of the flag to include if enabled. + Adds a mutually exclusive flag to the map. Add a mutually exclusive flag to the map. @@ -151,8 +151,8 @@ The value of the property - Get a set of the names of enabled flags for a given property value. - The names of the enabled flags, empty if no flags enabled + Gets a set of the names of enabled flags for a given property value. + The non-null names of the enabled flags, or an empty set if no flags are enabled. Get a set of the names of enabled flags for a given property value. diff --git a/docs/xml/Android.Views.Inspectors/WindowInspector.xml b/docs/xml/Android.Views.Inspectors/WindowInspector.xml index 9ea7756e5..17095076e 100644 --- a/docs/xml/Android.Views.Inspectors/WindowInspector.xml +++ b/docs/xml/Android.Views.Inspectors/WindowInspector.xml @@ -66,8 +66,8 @@ System.Collections.Generic.IList<Android.Views.View> - Gets the window views attached to the current process. - the list of all window views attached to the current process + Gets the list of all window views attached to the current process. + The non-null list of all window views attached to the current process. From 8271c38d009ed5917cd787125ba90f6262417217 Mon Sep 17 00:00:00 2001 From: Jonathan Peppers Date: Sun, 16 Aug 2026 21:38:05 -0500 Subject: [PATCH 2/2] Address inspector docs review Refs #243 Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> --- docs/xml/Android.Views.Inspectors/IntFlagMapping.xml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/xml/Android.Views.Inspectors/IntFlagMapping.xml b/docs/xml/Android.Views.Inspectors/IntFlagMapping.xml index d3688f53d..259f0578d 100644 --- a/docs/xml/Android.Views.Inspectors/IntFlagMapping.xml +++ b/docs/xml/Android.Views.Inspectors/IntFlagMapping.xml @@ -106,10 +106,10 @@ The bit mask to compare to and with a value The target value to compare the masked value with - The non-null name of the flag to include if enabled. + The non-null name of the flag to include if enabled Adds a mutually exclusive flag to the map. - Add a mutually exclusive flag to the map. + Adds a mutually exclusive flag to the map. Java documentation for android.view.inspector.IntFlagMapping.add(int, int, java.lang.String). @@ -154,7 +154,7 @@ Gets a set of the names of enabled flags for a given property value. The non-null names of the enabled flags, or an empty set if no flags are enabled. - Get a set of the names of enabled flags for a given property value. + Gets a set of the names of enabled flags for a given property value. Java documentation for android.view.inspector.IntFlagMapping.get(int).