fixed fallback step-logger

moved vap-grouping to settings-file
sanity-checks
This commit is contained in:
2016-10-02 18:28:17 +02:00
parent a4a8593023
commit 3a1cd1bccc
9 changed files with 95 additions and 32 deletions

View File

@@ -53,7 +53,7 @@ private:
double rounded_z = std::round(z);
int res = QAndroidJniObject::callStaticMethod<int>("indoor/java/StepLoggerClient", "log", "(DDD)I", x, y, rounded_z);
//if (res != 1337) {throw Exception("invalid return code while sending the current position to StepLogger.\nService Down?");}
if (res != 1337) {throw Exception("invalid return code while sending the current position to StepLogger.\nService Down?");}
#endif
}