summaryrefslogtreecommitdiffstats
path: root/src/plugins/sensors/android/androidcompass.h
Commit message (Collapse)AuthorAgeFilesLines
* Update commercial license headersTarja Sundqvist2021-01-281-20/+20
| | | | | | | | | | | | | | | Updated header.COMM to the files in tqtc-qtsensors. Examples, tests or documentation files are not updated. The commercial license header may contain some additional lines so that its line count equals with the earlier license header. Reason for this is that some autotests use hard coded line numbers and a change in the line count causes failures in tests. Task-number: QTQAINFRA-4213 Change-Id: I0fb0c2dbfe22d2df2f55eaeb5e1cdbddb98afa71 Reviewed-by: Antti Kokko <antti.kokko@qt.io>
* Say hello to Qt Android Sensors based on NDK APIBogDan Vatra2019-04-111-0/+72
Until Qt 5.9, we had to use JNI way because the NDK sensors API was introduced in API-16. Starting with Qt 5.9 we can safely use the NDK API as API_16 is the minimum API supported by Qt. Using the NDK API instead of JNI boost the performance a lot! The CPU usage dropped 2 to 4 times, from over 60% using the JNI to less than 20%. [ChangeLog][Android] Rewrite Qt Android Sensors using NDK API. Change-Id: If3e3f1e56973e2a189662912b2a6ebfbd71dee14 Reviewed-by: Lorn Potter <lorn.potter@gmail.com>