add FSGConnectJNI::Initialize() and FSGCoreJNI::Initialize() return codes to Android logs for detailed debugging purposes through adb logcat
This commit is contained in:
@@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||||||
### Added
|
### Added
|
||||||
|
|
||||||
- Added an ePub version of the SenseGlove Unreal Engine Handbook.
|
- Added an ePub version of the SenseGlove Unreal Engine Handbook.
|
||||||
|
- Added `FSGConnectJNI::Initialize()` and `FSGCoreJNI::Initialize()` return codes to Android logs for detailed debugging purposes through `adb logcat`.
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
|
|
||||||
|
|||||||
@@ -76,6 +76,9 @@ void FSenseGloveAndroidModule::OnPostEngineInit() const
|
|||||||
const int32 R1 = FSGConnectJNI::Initialize();
|
const int32 R1 = FSGConnectJNI::Initialize();
|
||||||
const int32 R2 = FSGCoreJNI::Initialize();
|
const int32 R2 = FSGCoreJNI::Initialize();
|
||||||
|
|
||||||
|
SGLOG("FSGConnectJNI::Initialize() return code", R1);
|
||||||
|
SGLOG("FSGCoreJNI::Initialize() return code", R2);
|
||||||
|
|
||||||
ensureAlwaysMsgf(R1 == 0,
|
ensureAlwaysMsgf(R1 == 0,
|
||||||
TEXT(
|
TEXT(
|
||||||
"Failed to initialize the SGConnect JNI bridge to SGConnect for Android! Status Code: %d"
|
"Failed to initialize the SGConnect JNI bridge to SGConnect for Android! Status Code: %d"
|
||||||
|
|||||||
Reference in New Issue
Block a user