Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[appsync] Exclude problematic timer from compilation. JB#42757
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: Simo Piiroinen <simo.piiroinen@jollamobile.com>
- Loading branch information
Showing
1 changed file
with
36 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters