anselm94 / Torchie-Android

Hold volume buttons to turn on/off torch anytime
https://torchieapp.wordpress.com/
GNU General Public License v2.0
63 stars 26 forks source link

All the settings except vibrate are resetting immediately. #25

Closed Swagmiral closed 5 years ago

Swagmiral commented 5 years ago

I can't change any of the in-app settings except "Vibrate". For example: I turn off "Proximity sense", then I close the settings menu, and when I open it again - it's set to ON again, this happens to all the other settings as well (except Vibrate).

Also, for some reason it added another volume slider (with Chromecast icon) and uses it for default when when using volume keys and the phone is locked, so basically now I can't change the volume when my phone is locked because it uses this Cast volume slider instead of the main (real) one.

Phone: OnePlus 5t OxygenOS 9.0.5

Screenshot_20190531-012331

anselm94 commented 5 years ago

Do you face this issue in Beta version 3.2?

Swagmiral commented 5 years ago

Yes

anselm94 commented 5 years ago

@Swagmiral The settings not getting persisited is fixed now.

Regarding the other issue, the "Cast" volume control appears briefly, before disappearing completely. This is due to the latency in Android system in informing the application about "Screen On".

Have marked this for enhancement. Closing this issue for now.

Swagmiral commented 5 years ago

The cast slider doesn't disappear until I unlock the phone.

anselm94 commented 5 years ago

@Swagmiral Yes. I'm able reproduce the issue in my OP5T. While in Screen Off, Torchie takes hold of Cast stream (as Music stream doesn't provide volume changes callback) for volume changes. On Screen on, it takes a brief time to release the stream.

Reopening the issue now

anselm94 commented 5 years ago

@Swagmiral This issue is fixed (9e584003ef834f20b3e085f2140bb936492771bb) in the latest 3.2.1 release available in Google Play Store