You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
… shake to reset (sleep timer) at any time during the sleep timer.
Addresses issue (AntennaPod#4824)
Addresses issue (AntennaPod#4825)
Details:
The spinner defaults to "During fadeout" to preserve the original behaviour. If the user opts into the new behaviour by selecting "Anytime" from the spinner, they can shake the reset the sleep timer at any time during the countdown, rather than only during the fadeout. I think this is especially userful for users who do not use the "vibrate" feature of the sleep timer, as the audio fadeout alone can be quite subtle and easily missed.
This also fixes an issue with the existing sleep timer behaviour - currently the sleep timer will not respect the user unchecking the "shake to reset" option during the fadeout, as the ShakeListener has already been registered, and the callback does not check if the user has enabled shake to reset.
I don't really think this is a problem that we need to keep track of. This is mostly a theoretical thing - a normal user will not wait for the timer to run out, then un-check the "shake" option, and then shake (all within 15 seconds before playback is paused). I don't think fixing this little quirk is worth the additional code complexity
Checklist
System info
App version: 2.1.1 (I also receive this bug when building from source)
App source: F-Droid
Android version: LineageOS 17.1 (Android 10)
Device model: OnePlus 5T
Bug description
Steps to reproduce:
Expected behaviour:
At the end of these steps, "Shake to reset" is unchecked, so the sleep timer should not reset.
Current behaviour:
The sleep timer does reset, despite "Shake to reset" being unchecked.
First occurred: (e.g. about x days/weeks ago)
Environment:
Stacktrace/Logcat:
The text was updated successfully, but these errors were encountered: