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

[Android] LocationManager.requestSingleUpdate() is deprecated

    XMLWordPrintable

Details

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

    Description

      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

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              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

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes