• spiiroin's avatar
    [usb-moded] Use single function to exit charging fallback. Fixes JB#37759 · 8286dbf8
    spiiroin authored
    Whether and when we can switch for example from charging fallback to
    developer mode depends on multiple triggers - the order of which might vary
    from one device/bootup to another. Using custom state evaluation code at
    each possible trigger location easily causes unexpected results like device
    staying in fallback charging mode until the cable is re-attached.
    
    Add a state evaluation function and call it from those triggers that
    potentially allow exit from the charging fallback mode.
    Signed-off-by: spiiroin's avatarSimo Piiroinen <simo.piiroinen@jollamobile.com>
    8286dbf8
Name
Last commit
Last update
config Loading commit data...
debian Loading commit data...
docs Loading commit data...
openembedded Loading commit data...
rpm Loading commit data...
src Loading commit data...
systemd Loading commit data...
utils Loading commit data...
.gitignore Loading commit data...
Copyright Loading commit data...
LICENSE Loading commit data...
Makefile.am Loading commit data...
README.md Loading commit data...
TODO Loading commit data...
autogen.sh Loading commit data...
configure.ac Loading commit data...
usb-moded.ini Loading commit data...
usb_moded.pc.in Loading commit data...