Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[appsync] Start/stop only applications relevant to mode. JB#35683
The boolean state data for tracking active/inactive applications makes it difficult to separate applications that are not relevant to the mode and as a result an attempt to stop also those irrelevant apps that were not started is made when exiting the mode. Switch from boolean to inactive|active|dontcare state tracking. When starting appsync, mark apps relevant to the mode as inactive and the rest as dontcare. When stopping appsync, stop only those applications that have been activated by usb-moded. Signed-off-by: Simo Piiroinen <simo.piiroinen@jollamobile.com>
- Loading branch information
Showing
2 changed files
with
27 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
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