]> glassweightruler.freedombox.rocks Git - waydroid.git/commit
hardware-manager: Optionally stop the session on suspend
authorSebastian Krzyszkowiak <dos@dosowisko.net>
Fri, 30 Sep 2022 14:41:38 +0000 (16:41 +0200)
committerAlessandro Astone <ales.astone@gmail.com>
Fri, 11 Nov 2022 14:48:26 +0000 (15:48 +0100)
commitcca8af2d7d3494d887d9655f8e78244b5a2ca513
treec5953547911558159cf29749077e0f054cba3510
parente074cf4f8d4a1dabd6767306fbf51d25de90ebc4
hardware-manager: Optionally stop the session on suspend

This allows to use persist.waydroid.suspend as a way to automatically
stop the session after an inactivity timeout, as opposed to merely
freezing the container. Freeze still remains the default action.

To use it this way, add to waydroid.cfg:

suspend_action = stop
tools/config/__init__.py
tools/services/hardware_manager.py