They run a custom vendor-locked distro named QTS, so they're not really as easy to modify as a normal system, I don't think you can even install programs like that.
I'll definitely bookmark it though if I ever get around to building my own solution, thanks!
That solidifies my suspicion that it's a standard Android feature... I also don't get many spam calls, and only distinctly remember performing that action on this most recent phone.
Based on OP's comment "...I always assume that rejecting the call outright will also be detected as a deliberate action and therefore a person is on the other side...", I figured maybe they didn't know about that feature and/or have an iPhone and they somehow don't behave that way.
I also miss the old days of Android... I got a smartphone specifically to play Pokemon go in 2016 lol, up until that point I was still rocking one of those Casio Gzone indestructible flip-phones. Walked into WalMart, bought the cheapest LG whatever phone I could find (Android 5 I think?), caught a bazillion Pokemon. I remember buying multiple batteries for longer sessions, because you could just pop the back off and replace it on the go.