Repository navigation
[API 37.2] Remove APIs dropped in platform-37.2_r02 - #1594
Merged
Merged
Conversation
Google republished the Android 37.2 platform as platform-37.2_r02 (https://issuetracker.google.com/issues/584834598). dotnet/android#13661 updates the API-37.2 binding to match. Update the docs to that binding: * Remove the Android.AgentIcon, Android.App.PersonalContext*, and Android.Service.PersonalContext* namespaces and their types. * Remove Android.App.NotificationAgentTaskInteractionFlags. * Remove the agent-task members from Notification, Notification.Builder, NotificationListenerService.Ranking, and StatusBarManager. * Add [Obsolete("deprecated")] to PolicyIdentifier.CreateForTesting(string). * Remove the matching entries and NamespaceMapping attributes from FrameworksIndex/net-android-37.0.xml and index.xml. The removal set was verified against `mdoc update --delete` run on a scratch copy with the r02 Mono.Android.dll; unrelated mdoc churn from other dotnet/android changes is excluded. Co-authored-by: Copilot App <[email protected]>
Member
Author
|
@dalexsoto review |
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues are reported for the documentation update aligning with the revised Android 37.2 r02 binding.
No open issues 🎉
What changed in this PR
Updates the .NET for Android API documentation to match the revised Android 37.2 r02 binding, removing APIs introduced in #681 that the republished platform no longer exposes.
Changes:
- Remove documentation for dropped AgentIcon and PersonalContext types and namespaces.
- Remove agent-interaction notification members and their flags enum.
- Mark
PolicyIdentifier.CreateForTesting(string)obsolete to match the binding.
| File | Description |
|---|---|
| docs/xml/ns-Android.Service.PersonalContext.Understander.xml | Remove understander service namespace docs. |
| docs/xml/ns-Android.Service.PersonalContext.Insight.xml | Remove service insight namespace docs. |
| docs/xml/ns-Android.Service.PersonalContext.Insight.Interaction.xml | Remove service interaction namespace docs. |
| docs/xml/ns-Android.Service.PersonalContext.Embedded.xml | Remove embedded visualization namespace docs. |
| docs/xml/ns-Android.App.PersonalContext.xml | Remove PersonalContext namespace docs. |
| docs/xml/ns-Android.App.PersonalContext.Understander.xml | Remove understander namespace docs. |
| docs/xml/ns-Android.App.PersonalContext.Insight.xml | Remove insight namespace docs. |
| docs/xml/ns-Android.App.PersonalContext.Insight.Interaction.xml | Remove insight interaction namespace docs. |
| docs/xml/ns-Android.App.PersonalContext.Hint.xml | Remove hint namespace docs. |
| docs/xml/ns-Android.AgentIcon.xml | Remove AgentIcon namespace docs. |
| docs/xml/Android.Service.PersonalContext.Insight.Interaction/InsightEvent+InterfaceConsts.xml | Remove service insight parcel constants docs. |
| docs/xml/Android.Service.PersonalContext.Embedded/VisualizerViewAction+InterfaceConsts.xml | Remove visualization action parcel constants docs. |
| docs/xml/Android.Service.PersonalContext.Embedded/InsightVisualizerSessionCloseReason.xml | Remove session close-reason enum docs. |
| docs/xml/Android.Service.Notification/NotificationListenerService+Ranking.xml | Remove AgentInteractionFlags property docs. |
| docs/xml/Android.App/NotificationAgentTaskInteractionFlags.xml | Remove agent-interaction flags enum docs. |
| docs/xml/Android.App/Notification+Builder.xml | Remove SetAgentInteractionFlags method docs. |
| docs/xml/Android.App/Notification.xml | Remove agent-interaction property and constants docs. |
| docs/xml/Android.App.PersonalContext/PersonalContextManagerUnderstanderType.xml | Remove understander category enum docs. |
| docs/xml/Android.App.PersonalContext/PersonalContextManager+PersonalContextModeChangedEventArgs.xml | Remove mode-change event-data docs. |
| docs/xml/Android.App.PersonalContext/PersonalContextManager+IOnPersonalContextModeChangedListener.xml | Remove mode-change listener docs. |
| docs/xml/Android.App.PersonalContext.Understander/RegistrationResponseResponse.xml | Remove registration response-code enum docs. |
| docs/xml/Android.App.PersonalContext.Understander/RegistrationRequest+InterfaceConsts.xml | Remove registration request parcel constants docs. |
| docs/xml/Android.App.PersonalContext.Understander/FeedbackRequestProperties.xml | Remove feedback flags enum docs. |
| docs/xml/Android.App.PersonalContext.Understander/FeedbackRequest+InterfaceConsts.xml | Remove feedback request parcel constants docs. |
| docs/xml/Android.App.PersonalContext.Insight/ScreenWhisperInsight.xml | Remove Screen Whisper insight docs. |
| docs/xml/Android.App.PersonalContext.Insight/ScreenWhisperAutofillInsight.xml | Remove Screen Whisper autofill insight docs. |
| docs/xml/Android.App.PersonalContext.Insight/RemoteAppFunctionAction+InterfaceConsts.xml | Remove remote action parcel constants docs. |
| docs/xml/Android.App.PersonalContext.Insight/PromptRequest+InterfaceConsts.xml | Remove prompt request parcel constants docs. |
| docs/xml/Android.App.PersonalContext.Insight/NotificationInsight.xml | Remove notification insight docs. |
| docs/xml/Android.App.PersonalContext.Insight/InsightFilter+InterfaceConsts.xml | Remove insight filter parcel constants docs. |
| docs/xml/Android.App.PersonalContext.Insight/InsightDisplayDetails+InterfaceConsts.xml | Remove display details parcel constants docs. |
| docs/xml/Android.App.PersonalContext.Insight/InsightBrandingIconType.xml | Remove branding icon category enum docs. |
| docs/xml/Android.App.PersonalContext.Insight/InsightBrandingColorType.xml | Remove branding color category enum docs. |
| docs/xml/Android.App.PersonalContext.Insight/InsightBranding+InterfaceConsts.xml | Remove branding parcel constants docs. |
| docs/xml/Android.App.PersonalContext.Insight/InsightActionDetailsActionType.xml | Remove insight action-type enum docs. |
| docs/xml/Android.App.PersonalContext.Insight/InsightActionDetails+InterfaceConsts.xml | Remove action details parcel constants docs. |
| docs/xml/Android.App.PersonalContext.Insight/HintInvalidationInsight.xml | Remove hint invalidation insight docs. |
| docs/xml/Android.App.PersonalContext.Insight.Interaction/InsightEvent+InterfaceConsts.xml | Remove insight event parcel constants docs. |
| docs/xml/Android.App.PersonalContext.Hint/UserInputTextSource.xml | Remove input text source enum docs. |
| docs/xml/Android.App.PersonalContext.Hint/UserInputTextFieldType.xml | Remove input field category enum docs. |
| docs/xml/Android.App.PersonalContext.Hint/UserInputText+InterfaceConsts.xml | Remove input text parcel constants docs. |
| docs/xml/Android.App.PersonalContext.Hint/NotificationHint.xml | Remove notification hint docs. |
| docs/xml/Android.App.PersonalContext.Hint/NotificationEvent.xml | Remove notification event base-class docs. |
| docs/xml/Android.App.PersonalContext.Hint/NotificationDetails+InterfaceConsts.xml | Remove notification details parcel constants docs. |
| docs/xml/Android.App.PersonalContext.Hint/InsightReferenceHint.xml | Remove insight reference hint docs. |
| docs/xml/Android.App.PersonalContext.Hint/HintFilterType.xml | Remove hint filter criteria enum docs. |
| docs/xml/Android.App.PersonalContext.Hint/HintFilter+InterfaceConsts.xml | Remove hint filter parcel constants docs. |
| docs/xml/Android.App.PersonalContext.Hint/ConversationEvent+ConversationExitEvent.xml | Remove conversation exit event docs. |
| docs/xml/Android.App.PersonalContext.Hint/ConversationEvent+ConversationEnterEvent.xml | Remove conversation entry event docs. |
| docs/xml/Android.App.PersonalContext.Hint/ConversationData+InterfaceConsts.xml | Remove conversation data parcel constants docs. |
| docs/xml/Android.App.PersonalContext.Hint/ChatMessageData+InterfaceConsts.xml | Remove chat message parcel constants docs. |
| docs/xml/Android.App.PersonalContext.Hint/ChatMessageContextData+InterfaceConsts.xml | Remove message context parcel constants docs. |
| docs/xml/Android.App.PersonalContext.Hint/CapturedText+InterfaceConsts.xml | Remove captured text parcel constants docs. |
| docs/xml/Android.App.PersonalContext.Hint/CallHintModality.xml | Remove call category enum docs. |
| docs/xml/Android.App.Admin/PolicyIdentifier.xml | Add obsolete metadata to CreateForTesting. |
| docs/xml/Android.AgentIcon/AgentTaskUpdate+InterfaceConsts.xml | Remove task update parcel constants docs. |
| docs/xml/Android.AgentIcon/AgentTaskState+InterfaceConsts.xml | Remove task state parcel constants docs. |
| docs/xml/Android.AgentIcon/AgentTaskOutcome+InterfaceConsts.xml | Remove task outcome parcel constants docs. |
| docs/xml/Android.AgentIcon/AgentTaskEvent+InterfaceConsts.xml | Remove task event parcel constants docs. |
Review effort: Balanced
This was referenced Nov 19, 2026
Fix documentation errors in Android.Graphics.Drawables, Drawables.Shapes, Fonts and Pdf (R085)
#1602
Merged
dalexsoto
approved these changes
Nov 19, 2026
dalexsoto
left a comment
Member
There was a problem hiding this comment.
The documentation changes match the binding removals and deprecation in dotnet/android#13661. Please land the binding change first and re-sync if its API changes.
This was referenced Nov 19, 2026
This was referenced Nov 20, 2026
Fix documentation errors in Android.Nfc, Android.Nfc.CardEmulators and Android.Nfc.Tech (R123)
#1630
Merged
Merged
Merged
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.
Google republished the Android 37.2 platform as
platform-37.2_r02: https://issuetracker.google.com/issues/584834598dotnet/android#13661 updates the API-37.2 binding (
Mono.Android.dll) to match. This PR updates the docs to that binding.Changes
Android.AgentIcon,Android.App.PersonalContext*, andAndroid.Service.PersonalContext*namespaces: 125 type files and 10ns-*.xmlfiles.Android.App.NotificationAgentTaskInteractionFlags.Notification:AgentInteractionFlags,FlagAgentTaskInteractionHideStatusBarIcon,FlagAgentTaskInteractionHideVisualAlertsNotification.Builder:SetAgentInteractionFlagsNotificationListenerService.Ranking:AgentInteractionFlagsStatusBarManager:ActionAgentTaskMain,CanSetAgentTask,GetAgentStateScreenLocation,IsAgentTaskFeatureSupported,IsAgentTaskLaunchSupported,SetAgentTask[Obsolete("deprecated")]toPolicyIdentifier.CreateForTesting(string).NamespaceMappingattributes fromFrameworksIndex/net-android-37.0.xmlandindex.xml.Validation
mdoc update --deletewith the r02Mono.Android.dllon a scratch copy of the docs. The deleted type files, removed members, and new attribute in this PR are the same as that output. I did not include the othermdocchanges, because they come from other changes on dotnet/android main since [API 37.2] Regenerate .NET for Android API documentation #681.api-37.2.xmlormap.csv. The onlydeprecatedchange in that PR is oncreateForTesting.docs/xml.git diff --checkpasses.