Skip to content

[Xamarin.Android.Build.Tasks] Remove Seppuku.java - #5567

Merged
jonpryor merged 1 commit into
dotnet:masterfrom
dellis1972:SeppukuSeppuku
Jan 29, 2021
Merged

jonpryor merged 1 commit into
dotnet:masterfrom
dellis1972:SeppukuSeppuku

Conversation

@dellis1972

Copy link
Copy Markdown
Contributor

The Seppuku Broadcast Receiver was only ever used on devices which
were below sdk 14. Since our minimum sdk is now 19, we can safely
remove this class from our system.

The `Seppuku` Broadcast Receiver was only ever used on devices which
were below sdk 14. Since our minimum sdk is now 19, we can safely
remove this class from our system.
@jonathanpeppers

jonathanpeppers commented Jan 29, 2021 •

Copy link
Copy Markdown
Member

@dellis1972

Copy link
Copy Markdown
Contributor Author

Should we also change this to throw an exception for older API levels?

https://github.com/xamarin/androidtools/blob/b639c1ee85191193453b0bf436e816619737a2d9/Xamarin.AndroidTools/Devices/AndroidDeviceExtensions.cs#L63-L69

We don't even support anything less than API 19 now. So I'm not sure that fallback is even needed anymore, we should remove it and the if statement as well I think.

@jonpryor
jonpryor merged commit 4215025 into dotnet:master Jan 29, 2021
@dellis1972
dellis1972 deleted the SeppukuSeppuku branch January 29, 2021 20:37
@github-actions github-actions Bot locked and limited conversation to collaborators Jan 24, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants