Skip to content

Fix Navigation skills error on Android 5#17

Open
furdiburd wants to merge 1 commit intoStypox:masterfrom
furdiburd:fix/android5-codepoints
Open

Fix Navigation skills error on Android 5#17
furdiburd wants to merge 1 commit intoStypox:masterfrom
furdiburd:fix/android5-codepoints

Conversation

@furdiburd
Copy link
Copy Markdown

Should resolve issue Stypox/dicio-android#405

…Character.codePointAt() loop

String.codePoints() requires API 24 (Android 7.0). Use a manual loop with
Character.codePointAt() and Character.charCount() instead, which correctly
handles all Unicode code points including surrogates, and works on all API
levels including API 21 (Android 5.0).
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

Successfully merging this pull request may close these issues.

1 participant