86555424ed07c64118e7c090da0e8c126f7c3db9

Previously, this hook was just removing the wake lock that prevent the device to suspend. This was only up to sxmo_hook_block_suspend.sh to prevent the device to suspend if some applications are active. With this change, we glue the idle inhibitors just before unlocking the wake lock. It means that the user now can move the device to screenoff, with an idle inhibitor programs running, without needing to add a dedicated rule to the block_suspends hook. This also remove the need of this sxmo_hold_a_bit 3s wakelock.
sxmo-utils
This repository contains scripts and C programs to support Sxmo.
Note all scripts pass shellcheck and are tab-idented.
<Various scripts and small C programs that glue the Sxmo environment together>
Copyright (C) <2022> <Sxmo Contributors>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
the Free Software Foundation, version 3 of the License only.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
Description
Languages
Shell
97.5%
Makefile
1.3%
C
1.2%