Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[dbus] Deny mode change requests while busy. JB#42757
Previously switches would block mainloop and multiple mode change requests would effectively get queued and executed one after another. Now that separate worker thread is utilized, the D-Bus requests are handled without delay and can cause termination of already ongoing transition - which is could cause problems especially if done in rapid succession. Deny mode change requests over D-Bus when already busy with mode switch, so that bailing out from ongoing transition is reserved only for dealing with unavoidable physical cable disconnect situations. Signed-off-by: Simo Piiroinen <simo.piiroinen@jollamobile.com>
- Loading branch information