Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Media details: Nearby query sent every few seconds, depsite no use for the results #5911

Open
nicolas-raoul opened this issue Oct 30, 2024 · 0 comments

Comments

@nicolas-raoul
Copy link
Member

nicolas-raoul commented Oct 30, 2024

Steps to reproduce:

  1. Open app to your contributions activity (default activity)
  2. Open one of your contributions
  3. Start observing logcat

You will observe that every few seconds, an HTTP query like this is made:

10-30 22:12:45.708 16101 16101 D LocationServiceManager: on location changed
10-30 22:12:45.709 16101 16641 D NearbyController: Loading attractions near lat/lng: ([...],[...])
10-30 22:12:45.709 16101 16641 D OkHttpJsonApiClient: Fetching nearby items at radius 0.3
10-30 22:12:45.709 16101 16641 D OkHttpJsonApiClient: CUSTOM_SPARQLfalse
10-30 22:12:45.745 16101 16641 V OkHttp  : --> GET https://query.wikidata.org/sparql?query=SELECT[...]

The Media details activity (screenshot below) does not show any information about nearby items, nor is it supposed to.
So I don't think there is a need for these infrequent requests, they use battery and data and server resources for nothing.

Screenshot_20241030-222435

Observed on 5.1.0 branch, commit 610919e

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant