Skip to content

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

@Falcosc

Description

@Falcosc

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions