PositionSource: set preferred positioning methods to All by default


Preferred positioning methods in PositionSource are set to
NoPositioningMethods by default, which does not make much sense
for me, because it technically forbids receiving positioning data.
Normally this does not affect the applications, because the logic
for settings preferred methods handles NoPositioningMethods specially.
However on Android, if the application with PositionSource is launched
for the first time (and so needs to request permissions), the permissions
are not properly set, and so the positioning data is not received.
Application restart is required.

This patch sets default preferred positioning methods to
AllPositioningMethods, allowing android applications to work correctly.

Task-number: QTBUG-91528
Change-Id: I65b793e840dad3dd4f8acb1f3ce1a9267581489b
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
commitf4a4dd0a254eba4dc1bb0125fcbf7d7f4eef61b4
parentd89b345b9f018c50060133f909275208b6924816
authorIvan Solovev <ivan.solovev@qt.io>
committerIvan Solovev <ivan.solovev@qt.io>
commit timeFri, 12 Mar 2021 12:43:45 +0100