• spiiroin's avatar
    [appsync] Exclude problematic timer from compilation. JB#42757 · bf2e96af
    spiiroin authored
    After moving the mode switch activity to worker thread, there is now a
    situation in appsync code where timer started from worker thread can get
    prematurely (before the blocking mode switch is finished) triggered.
    
    Luckily the timer is needed only for the purposes of APP_SYNC_DBUS
    feature - which is not enabled by default and probably does not even
    work as it would require usb-moded having session bus connection.
    
    Put all dbus appsync related code within #ifdef APP_SYNC_DBUS. This
    effectively stops the problematic timer code from being included in
    the binary.
    Signed-off-by: spiiroin's avatarSimo Piiroinen <simo.piiroinen@jollamobile.com>
    bf2e96af
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...
scripts Loading commit data...
src Loading commit data...
systemd Loading commit data...
utils Loading commit data...
.depend Loading commit data...
Copyright Loading commit data...
LICENSE Loading commit data...
Makefile.am Loading commit data...
Makefile.custom Loading commit data...
README.md Loading commit data...
TODO Loading commit data...
autogen.sh Loading commit data...
config-static.h Loading commit data...
configure.ac Loading commit data...
depend_filter.py Loading commit data...
usb-moded.ini Loading commit data...
usb_moded.pc.in Loading commit data...