Skip to content

[API 37.2] Remove APIs dropped in platform-37.2_r02 - #1594

Merged
jonathanpeppers merged 1 commit into
mainfrom
jonathanpeppers-api-37-2-r02-docs-update
Nov 19, 2026
Merged

jonathanpeppers merged 1 commit into
mainfrom
jonathanpeppers-api-37-2-r02-docs-update

Conversation

@jonathanpeppers

Copy link
Copy Markdown
Member

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 (Mono.Android.dll) to match. This PR updates the docs to that binding.

Changes

  • Remove the Android.AgentIcon, Android.App.PersonalContext*, and Android.Service.PersonalContext* namespaces: 125 type files and 10 ns-*.xml files.
  • Remove Android.App.NotificationAgentTaskInteractionFlags.
  • Remove 11 agent-task members:
    • Notification: AgentInteractionFlags, FlagAgentTaskInteractionHideStatusBarIcon, FlagAgentTaskInteractionHideVisualAlerts
    • Notification.Builder: SetAgentInteractionFlags
    • NotificationListenerService.Ranking: AgentInteractionFlags
    • StatusBarManager: ActionAgentTaskMain, CanSetAgentTask, GetAgentStateScreenLocation, IsAgentTaskFeatureSupported, IsAgentTaskLaunchSupported, SetAgentTask
  • Add [Obsolete("deprecated")] to PolicyIdentifier.CreateForTesting(string).
  • Remove the matching entries and NamespaceMapping attributes from FrameworksIndex/net-android-37.0.xml and index.xml.

Validation

  • I ran mdoc update --delete with the r02 Mono.Android.dll on 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 other mdoc changes, because they come from other changes on dotnet/android main since [API 37.2] Regenerate .NET for Android API documentation #681.
  • Each removed type and member maps to a Java API that [Mono.Android] Remove APIs dropped in API-37.2 platform r02 android#13661 removes from api-37.2.xml or map.csv. The only deprecated change in that PR is on createForTesting.
  • All changed XML files parse. No references to the removed APIs remain in docs/xml. git diff --check passes.

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]>
Copilot AI balanced review requested due to automatic review settings November 19, 2026 21:25
@jonathanpeppers
jonathanpeppers enabled auto-merge (squash) November 19, 2026 21:25
@jonathanpeppers

Copy link
Copy Markdown
Member Author

@dalexsoto review

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 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

@dalexsoto dalexsoto left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 20, 2026
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.

3 participants