summaryrefslogtreecommitdiff
path: root/src/plugins/position/android/jar/src/org/qtproject/qt5
Commit message (Collapse)AuthorAgeFilesLines
* Android: check positioning listener not nullVyacheslav Koscheev2017-10-241-2/+5
| | | | | | Change-Id: I8b491dc1a3b9056c9a15d6814b72e52e37132dda Reviewed-by: Sergey A. Galin <s.galin@2gis.ru> Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
* Android: fix resolving null locationManagerVyacheslav Koscheev2017-06-291-0/+4
| | | | | | Change-Id: I5be4c3af8cedd6755296bc9b445562549784c050 Reviewed-by: BogDan Vatra <bogdan@kdab.com> Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
* Merge remote-tracking branch 'origin/5.6' into 5.7Michal Klocek2016-07-281-2/+2
|\ | | | | | | Change-Id: I37542960aa091ab2074914a2cebb8c5114237a26
| * Android: Reduce the minimum update interval to 50msAlex Blasche2016-06-241-2/+2
| | | | | | | | | | | | | | | | | | The previous 1000ms were to high for satellite and position updates. Task-number: QTBUG-54026 Change-Id: I35f6452cfb714a8d69d55dd126067de8d2c3b30c Reviewed-by: Maurice Kalinowski <maurice.kalinowski@qt.io> Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
* | This module doesn't need an Activity to work, a Context object is enoughBogDan Vatra2016-07-261-3/+2
| | | | | | | | | | | | Task-number: QTBUG-54506 Change-Id: Ic1fd0d3bc63e9fcdf24a29b26a3be3746bbf45ab Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
* | Merge remote-tracking branch 'origin/5.6' into devLiang Qi2016-01-261-36/+66
|\ \ | |/ | | | | Change-Id: I23c874c5dcd0452142c3cf8abff65415ad31a1e7
| * Fix endless location requestingVyacheslav Koscheev2016-01-251-36/+66
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch fixes the problem of lost positioning listeners, which was registered in LocationManager, but does not persist in the `runningListeners` collection. We can't call LocationManager.removeUpdates() for those listeners, that are not in `runningListeners` and that's why LocationManager never ends to update location for them. Listener can be registered in LocationManager and not added to `runningListeners` collection at least in the following cases: 1. `startUpdates()` was called when location providers was disabled in system. 2. `startUpdates()` was called twice, without `stopUpdates()` Change-Id: If6777677cbb6f2ad9107fe2ac8496b7cdbb2d8d4 Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
* | Updated license headersAntti Kokko2016-01-201-14/+20
|/ | | | | | | | | | From Qt 5.7 -> LGPL v2.1 isn't an option anymore, see http://blog.qt.io/blog/2016/01/13/new-agreement-with-the-kde-free-qt-foundation/ Updated license headers to use new LGPL header instead of LGPL21 one (in those files which will be under LGPL v3) Change-Id: Iaee1a5fd53291752a1891710ee375ca32778b142 Reviewed-by: Lars Knoll <lars.knoll@theqtcompany.com>
* Update contact URL in all license headers to qt.ioAlex Blasche2015-02-181-1/+1
| | | | | Change-Id: Ia1e333be7fec8898de609d9b9303b1ad7687632e Reviewed-by: Maurice Kalinowski <maurice.kalinowski@theqtcompany.com>
* Update BSD and LGPLv2.1 licensesAlex Blasche2015-02-181-3/+3
| | | | | | | | - Removes subsidiary extension from Qt Company - Replaces remaining occurrences of Digia in BSD and LGPLv2.1 Change-Id: I7467a6744af7d1c3aef3c29118f219399162a18c Reviewed-by: Maurice Kalinowski <maurice.kalinowski@theqtcompany.com>
* Update all LGPLv2.1 license headers in source to latest versionAlex Blasche2015-02-151-4/+4
| | | | | | | | | | | This affects all QtPositioning related code and the test code in the entire repository. The Qt Company is set as new copyright owner and the copyright year is bumped to 2015. Change-Id: Iee0e990680683c20f5920e49cc1063ea9349e2cd Reviewed-by: Lars Knoll <lars.knoll@digia.com>
* Update license headers and add new license filesAntti Kokko2014-08-241-20/+12
| | | | | | | | | - Renamed LICENSE.LGPL to LICENSE.LGPLv21 - Added LICENSE.LGPLv3 & LICENSE.GPLv2 - Removed LICENSE.GPL Change-Id: Iedee2507ab1bd46788409a98505d7be510253110 Reviewed-by: Jani Heikkinen <jani.heikkinen@digia.com>
* Fix crash on S4 when running Satellite and Position updates concurrentlyAlex Blasche2014-05-231-9/+21
| | | | | | | | | | | | | | | | | This was caused due to unsynchronized access of data between two threads. The Java satellite updates were sent before the receiving Qt thread could finish its regular startup. As a consequence the received updates could not be mapped to a receiving C++ class. This patch synchronizes the startup and setup of the two threads and ensures that the relvant data setup on the C++ side is done before the update thread is started. In addition some minor debug helpers were added for future references. Task-number: QTBUG-39082 Change-Id: I1f24ddfcef038fa000801ddb6a3ea0959370f0d3 Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com>
* Android: Fix crash while retrieving GPS based location.Alex Blasche2014-01-151-1/+2
| | | | | | | | | | | The satellite backend was not properly guarded from the location backend. As a consequence satellite updates were triggered while the user only requested position updates. This caused uninitialized satellite code to be exeuted which caused an abort. Change-Id: I4a7511d49ba795fb6a4fc8e9c723ef1260c5c9a5 Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com> Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
* Android: Use constants to reflect type of occurred errorAlex Blasche2014-01-031-22/+30
| | | | | | Change-Id: I9b4ded2742c513ecfe491231341a8f3a9178929b Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com> Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
* QGeoSatelliteInfoSource backend for AndroidAlex Blasche2014-01-031-10/+119
| | | | | | | | | | | | | | Android supports status enquiries about GPS/GLONASS satellites in range. Task-number: QTBUG-34102 [ChangeLog][QtPositioning][QGeoSatelliteInfoSource] Android backend added. Android devices can retrieve information about the currently accessible GPS and GLONASS satellites. Change-Id: Ia3627fdcf948586f9e6f04aa64bfc9548fc895e0 Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com> Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
* Positioning backend for AndroidAlex Blasche2014-01-031-0/+425
Currently it only supports positioning data. Satellite information and potentially geo fencing will follow later on. Task-number: QTBUG-34102 [ChangeLog][QtPositioning][QGeoPositionInfoSource] Android backend added. Android devices can retrieve their current position. Network- and Satellite-based providers are supported. Change-Id: I94ec0d177aaef930f9a3f2a9f6af6fa3c904ec92 Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com> Reviewed-by: Alex Blasche <alexander.blasche@digia.com>