Skip to content

Replace Arrays.copyOfRange so that this library can be compiled on Android under 2.3 #7

@ngocdaothanh

Description

@ngocdaothanh

This line uses Arrays.copyOfRange which is only available on Android 2.3+:
https://github.com/codebutler/android-websockets/blob/master/src/com/codebutler/android_websockets/HybiParser.java#L337

Replacing it with this will make this library be compilable on Android under 2.3:
http://stackoverflow.com/questions/7970486/porting-arrays-copyofrange-from-java-6-to-java-5

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions