From cf4dbbe5f2def7a6666e74518a5cfea668ded569 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Wed, 18 Sep 2019 13:35:22 -0700 Subject: Android: print Android HW information This uses Android methods through JNI. Signed-off-by: Dirk Hohndel --- mobile-widgets/qmlmanager.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'mobile-widgets') 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"); -- cgit v1.2.3-70-g09d2