Android: avoid duplicated entries when reporting satellite info


It turns out that some devices can report the same satellite
(identified by a combination of satellite system and satellite id)
multuiple times in the same GNSS Status callback. The duplicated
devices seem to have just a different value of RSSI, otherwise
they are identical.

This behavior is visible at least on Oneplus devices.

This does not seem to be correct, and that can be a source of
bugs on the user side, if they expect the items in the list to
be unique.

Fix it by keeping track of all devices and simply discarding the
duplicates. We have no way to figure out which information is
newer, so simply keep the first one. In most cases it does not
matter anyway, as the satellite updates are received on a regular
basis.

Pick-to: 6.6 6.5
Change-Id: I5c266d85cd65a8729174807dba747f8fee0ed2d0
Reviewed-by: Juha Vuolle <juha.vuolle@qt.io>
commit58bbf8fa5fdeb1c19d71cdab8830b9cf55672a5e
parent06854f61d6830682103bb84b41180c1af33fe6bc
authorIvan Solovev <ivan.solovev@qt.io>
committerIvan Solovev <ivan.solovev@qt.io>
commit timeMon, 20 Nov 2023 11:43:15 +0100