Android: Add missing set_restart_if_changed for haptic_on_long_press#118096
Android: Add missing set_restart_if_changed for haptic_on_long_press#118096Repiteo merged 1 commit intogodotengine:masterfrom
Conversation
…setting The haptic_on_long_press editor setting was missing set_restart_if_changed, meaning toggling it in the UI would not take effect until the editor was manually restarted without any prompt to do so.
|
Feedback was given that the Galaxy M14 was throwing errors when trying to use the long press feature... Looking deeper it "could" be the Samsung overriding for non-system apps with view level suppression? I could try adding FLAG_IGNORE_VIEW_SETTING?? Would be good to have others here familar or I could apply the fix and have the OP of the issue test. @llama-nl |
|
Looking closely at the code the same pattern is used for the long press as right click ... there isn't any reason you would get the issue with haptic but not other settings. |
|
@uno1982 issue with vibration not working on @llama-nl's device is a seperate issue, please create an issue for it to discuss it properly or you can discuss it at rocket chat https://chat.godotengine.org/channel/android |
|
Thanks! |

The haptic_on_long_press editor setting was missing set_restart_if_changed, meaning toggling it in the UI would not take effect until the editor was manually restarted without any prompt to do so.