Bug: POI Alert sound not saved

Jürgen Holm shared this problem 3 years ago
Solved

Hi,


POI alert sound setting is lost after stopping POI alert. Howto reproduce:

1. Start POI alert

2. Notification -> select favorite sound -> OK ->leave alert via OK.

3. Start POI alert -> select terminate.

4. Start POI alert again

5. Notification -> select sound: NO sound selected


So every time I start POI alert I must select my favorite sound again. This behavior still exist since many month. One year ago or so, there was no such a problem.


I'm running CM12.1 on SGS3 and CM12.1 on a Galaxy Trend Plus. Same effect on both phones, therefore this is a Bug.

Comments (8)

photo
1

Good day Jurgen,


I'm trying to simulate your problem on own device with Android 6 and CM13 and on both devices it works fine.


What happen if you restart Locus, same problem? What about other, same notification settings like in Settings > Guidance > Notification, GPS & Location Position acquired / lost and many others. Same problem that Locus do not remember selected sound?


Last question - you are selecting sound from internal list of sounds on your device or you use any application that allows to pick what ever sound you want (like some mp3 files on SD card and similar)?

photo
1

Hi,


same effect on my Samsung Tab with original Android 5.1.1 from Samsung.

I tested GPS sound when position I acquired. Sound is saved, but: when I go to the sound select menu, no sound is selected. This should not happen. Right? Did you see the same effect?


In all cases I used the internal sound of android, selected with android media app.

Maybe the problem is my config? Reinstalling Locus did not help.

Where is the sound config saved? In the sql DB? What files should I delete before reinstalling Locus?

photo
1

Hello,


weird. I'll have to ask my colleagues if anyone has same experience, but I'm worried that their answer will be negative.


Let's talk about "Position acquired" in GPS settings. You simply open this screen, enable settings with top toggle "enable" and then tap on "Select sound" button. Some internal list of sounds should appear so you choose one and tap on "ok" or back. Back in Locus, you tap on "Play" and you hear your selected sound? Then if you confirm this screen by bottom "set" and then return back to this settings. Sound is not anymore selected so "play" button do nothing?

photo
1

Hi,

yes I hear the Sound. Back in Locus I tap on "play" and I hear the sound. When I now tap on "select sound" no sound (none) is selected. Pressing on cancel I leave the sound selector and then on play I hear my sound. Restarting Locus and pressing again on play I hear my selected sound but on the sound selector is always none selected.

So, selected sound IS saved but as none selected displayed on the sound selector menu.

photo
1

See attached clip. Is this your problem?

photo
1

Ah, this is whole point? I thought that in Locus, selected sound is not saved so you have to always select it again and again. And problem is only, that in list of available sounds, is not pre-selected that one, you use in Locus, right?


Well, then this is not a problem! List with sounds is not generated by Locus, but by Android system and Android have no idea which sound is selected in Locus. I'll check if I may do something with it, but do not expect any solution here.


@gynta: too late, but thanks, I think this is it.

photo
1

@gynta: Exact!

@Menion:

I disagree. I use Bluetooth GPS provider: https://play.google.com/store/apps/details?id=de.mobilej.btgps

In the setup I defined a sound for GPS fix, lost connection etc. My selected sound was displayed correctly in the selection dialog after a restart of this app. So, there must a technique to tell android what was the last saved sound.

Because of this please dont mark this thread as unresolveable.

photo
1

Found a solution, solved, thanks.