-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Remove PlatformWrapperView.java setHasShadow #28245
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
PR Overview
This PR resolves a TODO by removing the deprecated setHasShadow method from PlatformWrapperView.java.
- Removed the deprecated setHasShadow method.
- The removal cleans up the API as part of deprecation in preparation for .NET10.
Reviewed Changes
File | Description |
---|---|
src/Core/AndroidNative/maui/src/main/java/com/microsoft/maui/PlatformWrapperView.java | Removed deprecated setHasShadow method |
Copilot reviewed 1 out of 1 changed files in this pull request and generated no comments.
/azp run |
🚨 API change(s) detected @davidbritch FYI |
Azure Pipelines successfully started running 3 pipeline(s). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Requires changes in the PublicAPI:
C:\a\_work\1\s\src\Core\src\PublicAPI\net-android\PublicAPI.Shipped.txt(1862,1): error RS0017: Symbol 'Microsoft.Maui.PlatformWrapperView.SetHasShadow(bool hasShadow) -> void' is part of the declared API, but is either not public or could not be found (https://github.com/dotnet/roslyn-analyzers/blob/main/src/PublicApiAnalyzers/PublicApiAnalyzers.Help.md) [C:\a\_work\1\s\src\Core\src\Core.csproj::TargetFramework=net10.0-android35.0]
1 Error(s)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think you don t remove it from the shipped API , you leave that line there too no?
/rebase |
4b8669b
to
12d9dcc
Compare
The failed UITests are unrelated with the changes. |
Description of Change
Resolves a todo in code by removing the
setHasShadow
method fromPlatformWrapperView.java
, which was already marked as deprecated.