summaryrefslogtreecommitdiffstats
path: root/mobile-widgets
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2019-09-18 13:35:22 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2019-09-21 15:13:10 -0700
commitcf4dbbe5f2def7a6666e74518a5cfea668ded569 (patch)
tree8db81f6fcbd23c48f79dd5898d5957d2ea229073 /mobile-widgets
parent947b0915538aca5bb1e0735796be78f16cabf3b5 (diff)
downloadsubsurface-cf4dbbe5f2def7a6666e74518a5cfea668ded569.tar.gz
Android: print Android HW information
This uses Android methods through JNI. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'mobile-widgets')
-rw-r--r--mobile-widgets/qmlmanager.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/mobile-widgets/qmlmanager.cpp b/mobile-widgets/qmlmanager.cpp
index b92e4f081..56eecd2cd 100644
--- a/mobile-widgets/qmlmanager.cpp
+++ b/mobile-widgets/qmlmanager.cpp
@@ -205,6 +205,10 @@ QMLManager::QMLManager() : m_locationServiceEnabled(false),
git_libgit2_version(&git_maj, &git_min, &git_rev);
appendTextToLog(QStringLiteral("built with libgit2 %1.%2.%3").arg(git_maj).arg(git_min).arg(git_rev));
appendTextToLog(QStringLiteral("Running on %1").arg(QSysInfo::prettyProductName()));
+#if defined(Q_OS_ANDROID)
+ extern QString getAndroidHWInfo();
+ appendTextToLog(getAndroidHWInfo());
+#endif
setStartPageText(tr("Starting..."));
LOG_STP("qmlmgr start page");