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

Added spinner to time_dialog to allow the user to opt into permitting… #4826

Conversation

Thom-Merrilin
Copy link
Contributor

… shake to reset (sleep timer) at any time during the sleep timer.

Will resolve #4824
Will resolve #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.

… 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.
@Thom-Merrilin
Copy link
Contributor Author

This has failed the style check, running on my machine shows that the style check only fails for an unused import in app/src/main/java/de/danoeh/antennapod/fragment/FeedItemlistFragment.java
However that is not a file that I've edited. If somebody could direct me on how to proceed, I'd greatly appreciate it.

@ByteHamster
Copy link
Member

Oh, sorry. The failing style check is probably my fault. Will fix this later.

@ByteHamster ByteHamster added the Needs: Decision Proposal and most arguments are clear, but needs a verdict. label Jul 16, 2023
@ByteHamster
Copy link
Member

We have a second PR for this (#6165). I will close this one to keep everything in one place.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Needs: Decision Proposal and most arguments are clear, but needs a verdict.
Projects
None yet
2 participants