diff --git a/android/service/platform_service.cpp b/android/service/platform_service.cpp index 8e2c57a..0a19818 100644 --- a/android/service/platform_service.cpp +++ b/android/service/platform_service.cpp @@ -49,6 +49,7 @@ anbox::PlatformApiStub::WindowStateUpdate::Window PlatformService::unpack_window auto frame_bottom = data.readInt32(); auto task_id = data.readInt32(); auto stack_id = data.readInt32(); + auto rotation_angle = data.readInt32(); return anbox::PlatformApiStub::WindowStateUpdate::Window{ -1, // Display id will be added by the caller diff --git a/src/anbox/network/base_socket_messenger.cpp b/src/anbox/network/base_socket_messenger.cpp index fb093f3..23efc78 100644 --- a/src/anbox/network/base_socket_messenger.cpp +++ b/src/anbox/network/base_socket_messenger.cpp @@ -138,7 +138,7 @@ unsigned short BaseSocketMessenger::local_port() const { template void BaseSocketMessenger::set_no_delay() { - const auto fd = socket->native(); + const auto fd = socket->native_handle(); int flag = 1; const auto ret = ::setsockopt(fd, IPPROTO_TCP, TCP_NODELAY,