• spiiroin's avatar
    [display] Power up display on entry to OS update mode. Fixes JB#34088 · 90c0f3e3
    spiiroin authored
    Depending on platform specific low level code, compositor/lipstick
    process can cause the display to power off when it exits. If this
    happens when switching over from normal to OS update UI, it can cause
    display or backlight to stay powered off and the update progress is
    not shown on screen.
    Make sure display gets powered up and backlight level restored when
    compositor process drops from the D-Bus system bus.
    Do not assume compositor process has crashed if it exits when OS update
    mode has already been activated.
    Adjust the naming of the compositor availability change flag variable
    and add setter function to ease debugging of related state changes.