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

Start Track recording does not work when Maps 4 is not in forground in Androi 14 #59

Open
Falcosc opened this issue Feb 9, 2025 · 0 comments

Comments

@Falcosc
Copy link

Falcosc commented Feb 9, 2025

I found a strange thing: some tasks work when Locus Maps 4.28.0 is in background, but others don't.

Lets do some examples

am broadcast -a com.asamm.locus.ACTION_TASK --es tasks '{"track_record":{"action":"start"}}' menion.android.locus
am broadcast -a locus.api.android.ACTION_TRACK_RECORD_START menion.android.locus

Both work if locus is open, but don't if locus is not on foreground. If Locus is not in foreground, it opens the battery optimization screen and locus is already allowed to run in the background. Happens even if Locus is run as service.
Is there something missing on my Emulator setup?

Map Zoom however works always.

Image
Image
Image

@Falcosc Falcosc closed this as completed Feb 9, 2025
@Falcosc Falcosc changed the title locus.api.android.ACTION_TRACK_RECORD_START vs com.asamm.locus.ACTION_TASK Start Track recording does not work when Maps 4 is not in forground in Androi 14 Feb 9, 2025
@Falcosc Falcosc reopened this Feb 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant