connection.connect(new Callback<Void>() {
@Override
public void onSuccess(Void value) {
}
@Override
public void onFailure(Throwable value) {
}
});
The method of 'connect' does not trigger onSuccess or onFailure on 5.0 device of SSL connection,
and then it causes OOM.
The source code is tested on 4.x / 5.1 / 6.0 / 7.0 devices and the client connects successfully (with SSL).
The connection without SSL works on 5.0 device.
The method of 'connect' does not trigger onSuccess or onFailure on 5.0 device of SSL connection, and then it causes OOM.
The source code is tested on 4.x / 5.1 / 6.0 / 7.0 devices and the client connects successfully (with SSL). The connection without SSL works on 5.0 device.