Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-109304

[Android] LocationManager.requestSingleUpdate() is deprecated

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: P3: Somewhat important P3: Somewhat important
    • 6.5.0, 6.6.0
    • 6.5.0 FF
    • Positioning
    • Android
    • 8
    • 844db521b (dev), 21c02afbe (6.5)
    • Foundation Sprint 73

      The Android documentation claims that LocationManager.requestSingleUpdate() method is deprecated in API Level 30: link.

      We use it in android positioning plugin to request single updates, so we need to update our implementation to support both old and new calls (depending on API level).

      Currently the method is used here: https://code.qt.io/cgit/qt/qtpositioning.git/tree/src/plugins/position/android/jar/src/org/qtproject/qt/android/positioning/QtPositioning.java#n165

        For Gerrit Dashboard: QTBUG-109304
        # Subject Branch Project Status CR V

            ivan.solovev Ivan Solovev
            ivan.solovev Ivan Solovev
            Vladimir Minenko Vladimir Minenko
            Alex Blasche Alex Blasche
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes