Skip to content
This repository has been archived by the owner on Jan 19, 2022. It is now read-only.

Android 7+ uses different line endings #28

Merged
merged 1 commit into from
Oct 20, 2016
Merged

Conversation

jryans
Copy link
Contributor

@jryans jryans commented Oct 20, 2016

No description provided.

socketInfos = rawSocketInfo.split("\r\n");
} else {
socketInfos = rawSocketInfo.split("\n");
}
Copy link
Contributor

Choose a reason for hiding this comment

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

split(/\r?\n/) ?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Aha, didn't realize it took a regex. I'll change to that, thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
2 participants