performance enhancements
memory enhancements prevent starting sensors more than once fix for wifi lag issues map scaling for huge buildings
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
#include "../nav/NavControllerListener.h"
|
||||
#include <Indoor/misc/Debug.h>
|
||||
|
||||
#ifdef Android
|
||||
#ifdef ANDROID
|
||||
#include <QtAndroidExtras>
|
||||
#endif
|
||||
|
||||
@@ -48,10 +48,10 @@ private:
|
||||
/** call java */
|
||||
void log(const double x, const double y, const double z) {
|
||||
|
||||
#ifdef Android
|
||||
Log::add("SLWA", "calling android with lon/lat/floor");
|
||||
#ifdef ANDROID
|
||||
//Log::add("SLWA", "calling android with lon/lat/floor");
|
||||
int res = QAndroidJniObject::callStaticMethod<int>("indoor/java/StepLoggerClient", "log", "(DDD)I", x, y, z);
|
||||
if (res != 1337) {throw Exception("error while logging");}
|
||||
//if (res != 1337) {throw Exception("invalid return code while sending the current position to StepLogger.\nService Down?");}
|
||||
#endif
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user