• spiiroin's avatar
    [display] Add state machine to deal with compositor ipc. Fixes MER#1771 · b7767d92
    spiiroin authored
    Immediate retrying of failing mce-compositor dbus method calls can lead
    to virtual busyloops under some unfavorable conditions. The mce side
    logic dealing with this has organically grown into hard to fix state.
    Implement a state machine to deal with mce-compositor dbus ipc and handle
    delaying of method call retries from within the state machine.
    Apply longer initial panic delay also on compositor restarts instead of
    just device bootups / mce restarts.
    Use infinite timeout for org.nemomobile.compositor.setUpdatesEnabled()
    dbus method calls.
    Once blanking/unblanking panic led pattern is activated, keep it active
    until ipc state gets back to sync again.
    Signed-off-by: spiiroin's avatarSimo Piiroinen <simo.piiroinen@jollamobile.com>