Closed bdr99 closed 3 months ago
That is intended. You literally enabled "TOGGLE TORCH" when "WHILE SCREEN IS ON" for power button?
What else did you expect?
It TOGGLES torch. As its name says. Toggle means: turn on if it is off, turn off if it is on.
@EleoXDA I agree that the current behavior matches the description of the setting. That wasn't my issue.
My issue is just that something that was possible in canary-362 is no longer possible in canary-363. I expected to be able to recreate the old behavior through some other combination of settings.
@bdr99 it keeps working for me, even if I set any action on long power button press on screen on, if the torch is on that action is overridden by the action "power torch off".
@EleoXDA I agree that the current behavior matches the description of the setting. That wasn't my issue.
My issue is just that something that was possible in canary-362 is no longer possible in canary-363. I expected to be able to recreate the old behavior through some other combination of settings.
Then your description is wrong. You reported it as bug, but should have been a feature request, as this is not a bug per se
Describe the issue
Cannot achieve the same behavior that was possible from canary-323 to canary-362 (see below).
Steps to reproduce
From canary-323 to canary-362, the "Long press Power button for torch" feature (when the screen is on) worked like this:
In canary-363, if we set the "Long press power button" action to "Toggle torch", which seems to be the closest equivalent to the setting that existed in previous versions, it works like this instead:
There seems to be no way to achieve the previous functionality of performing the default action when the torch is already off.
Steps to reproduce
Expected behavior
There should be a way to configure a long press to turn off the torch if it is on, but otherwise perform the default long press action, as was possible in all versions from canary-323 to canary-362.
Your device setup (Please take some time to give correct information here)
Logs
LSPosed_2024-06-05T23_33_38.905911.zip