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

Wrong split strings in PackageManager #45

Open
INF1NUM opened this issue Aug 24, 2018 · 1 comment
Open

Wrong split strings in PackageManager #45

INF1NUM opened this issue Aug 24, 2018 · 1 comment

Comments

@INF1NUM
Copy link

INF1NUM commented Aug 24, 2018

Hi! Sorry for my English, I was bad at school.
Function ProcessNewLines() in class PackageManagerReceiver receive wrong parameters, when i use Samsung Galaxy S7 and Xiaomi Redmi Note 4. With Xiaomi MI2S that's OK. Array lines(ProcessNewLines( string[] lines )) contains only one element with all string: see screenshot
I can't fix this on my own, please, help.

@INF1NUM
Copy link
Author

INF1NUM commented Aug 24, 2018

The reason the newline characters. Sometimes it happens \r\n, but sometimes only \n.
The function MultiLineReceiver.AddOutput() does not provide this.

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

No branches or pull requests

1 participant