Commit f0529fd1 authored by Don Gagne's avatar Don Gagne

Fix android build

parent cc79fff0
......@@ -369,7 +369,7 @@ iOSBuild {
src/audio/QGCAudioWorker_iOS.mm \
src/MobileScreenMgr.mm \
}
androidBuild {
AndroidBuild {
SOURCES += src/MobileScreenMgr.cc \
}
......
......@@ -26,6 +26,8 @@
#include <QtAndroidExtras/QtAndroidExtras>
#include <QtAndroidExtras/QAndroidJniObject>
static const char* kJniClassName = "org/qgroundcontrol/qgchelper/UsbDeviceJNI";
void MobileScreenMgr::setKeepScreenOn(bool keepScreenOn)
{
if (keepScreenOn) {
......
......@@ -40,10 +40,6 @@ QGC_LOGGING_CATEGORY(MultiVehicleManagerLog, "MultiVehicleManagerLog")
const char* MultiVehicleManager::_gcsHeartbeatEnabledKey = "gcsHeartbeatEnabled";
#if defined __android__
static const char* kJniClassName = "org/qgroundcontrol/qgchelper/UsbDeviceJNI";
#endif
MultiVehicleManager::MultiVehicleManager(QGCApplication* app)
: QGCTool(app)
, _activeVehicleAvailable(false)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment