sxmo: override the postwake handler
This commit is contained in:
@@ -108,6 +108,7 @@ in
|
||||
default = {
|
||||
"sxmo_hook_start.sh" = ./hooks/sxmo_hook_start.sh;
|
||||
"sxmo_hook_inputhandler.sh" = ./hooks/sxmo_hook_inputhandler.sh;
|
||||
"sxmo_hook_postwake.sh" = ./hooks/sxmo_hook_postwake.sh;
|
||||
};
|
||||
description = ''
|
||||
extra hooks to add with higher priority than the builtins
|
||||
|
6
hosts/modules/gui/sxmo/hooks/sxmo_hook_postwake.sh
Normal file
6
hosts/modules/gui/sxmo/hooks/sxmo_hook_postwake.sh
Normal file
@@ -0,0 +1,6 @@
|
||||
#!/bin/sh
|
||||
|
||||
# the default sxmo_postwake handler checks if the modem is offline
|
||||
# and if so installs a wakelock to block suspend for 30s.
|
||||
# that's a questionable place to install that logic, and i want to keep stuff
|
||||
# out of the wake-from-sleep critical path, so i'm overriding this hook to disable that.
|
Reference in New Issue
Block a user