{"push_id":1075685261,"size":1,"distinct_size":1,"ref":"refs/heads/android-msm-angler-3.10-marshmallow-dr1.5","head":"590e25941e29487793ad2640591f040b348ca73e","before":"a195cc0c62cde4379dcdc98f3dee081571e3d03b","commits":[{"sha":"590e25941e29487793ad2640591f040b348ca73e","author":{"email":"a22090b983de3fc53c0a5f6bcc15e7a7ab541ec8@gmail.com","name":"atl4ntis"},"message":"Don't reset keys pressed at suspend time\n\nCurrently a key pressed at suspend time is resetted by sending a keyup event\ninstantly, assuming keys pressed at suspend time are unlikely to be pressed\nat resume.\nThis assumption is wrong if you want to assign custom longpress actions to some\nkeys that starts at suspend and ends at resume.\n\nOne possible feature for example could be QuickTorch, longpressing power button\nfor torch while phone is sleeping.\nAny longpress action would simply fail cause keyup is sent before the longpress\ntimeout occurs.\n\nHolding a wakelock at userspace on keydown is not enough without this patch.\n\nOn LP and before this patch was not needed for a feature like \"Volume button\nskips music tracks\" cause the music itself prevented the phone going to sleep.\nIt seems though in MM the phone may enter suspend also while playing music\nthus making this patch mandatory for this feature aswell.\n\nSigned-off-by: atl4ntis <nope>\nSigned-off-by: flar2 <asegaert@gmail.com>\nSigned-off-by: AudioGod <audiogod@sonic-developers.com>","distinct":true,"url":"https://api.github.com/repos/ovyx/angler_kernel/commits/590e25941e29487793ad2640591f040b348ca73e"}]}