The open source OpenXR runtime
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

android/service_target: Init ipc server in Android service.

+6 -4
+6 -4
src/xrt/targets/service-lib/service_target.cpp
··· 14 14 15 15 #include "wrap/android.view.h" 16 16 17 + #include "server/ipc_server.h" 18 + #include "util/u_logging.h" 19 + 17 20 #include <android/native_window.h> 18 21 #include <android/native_window_jni.h> 19 22 ··· 25 28 int fd) 26 29 { 27 30 jni::init(env); 28 - //! @todo do something! 29 - // This may be the "entry point" of the native code, or we could already 30 - // have another client running, etc. 31 - 32 31 jni::Object monadoImpl(thiz); 32 + U_LOG_D("service: Called nativeAddClient with fd %d", fd); 33 + // "entry point" of the native code 34 + ipc_server_main_android(fd); 33 35 } 34 36 35 37 extern "C" void