Skip to content
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

IP/Top: Add Android network interface #9191

Merged
merged 1 commit into from Nov 28, 2020

Conversation

sepalani
Copy link
Contributor

This PR adds for (not so old) Android devices network interface support allowing to use network functions such as bind. This PRs should work for Ethernet, Wi-Fi and maybe other connection.

Ready to be reviewed.

@sepalani sepalani force-pushed the net-interface branch 2 times, most recently from bd4eec1 to beb7ae2 Compare October 24, 2020 06:40
@Ebola16
Copy link
Member

Ebola16 commented Oct 24, 2020

I've never worked with anything network related so I'm probably not the best person to review this PR. Feel free to mention me if you need help with testing something Android network-related in the future though.

@sepalani sepalani force-pushed the net-interface branch 3 times, most recently from 5e86215 to aa079cb Compare October 24, 2020 20:02
Copy link
Member

@JosJuice JosJuice left a comment

Choose a reason for hiding this comment

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

Can't comment on the actual network stuff, but the JNI bindings look fine.

@sepalani sepalani force-pushed the net-interface branch 2 times, most recently from ae5fdd1 to 2ebec11 Compare October 25, 2020 16:22
@sepalani
Copy link
Contributor Author

@JosJuice Done. I also added some missing null checks which prevents a crash when there is no active network.

@leoetlino
Copy link
Member

Could you add the Keep annotations like #9256 did?

@sepalani
Copy link
Contributor Author

@leoetlino Done.

@leoetlino leoetlino merged commit a9845e0 into dolphin-emu:master Nov 28, 2020
10 checks passed
@sepalani sepalani deleted the net-interface branch November 28, 2020 19:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
4 participants