15

Change of plugin protocol

Current plugin protocol is no more updated to the new Android policy, intent based communication has several cons. A service binding using AIDL should be much better. The interface should:

1) Provides info to plugins when there is at least one active profile involving the plugin to allow it to setup a service if needed;

2) Provides info to plugins when there is no more an active profile involving the plugin to allow it to shutdown a service if needed;

3) Allow the plugin to stay alive using a bound service without being killed by the system;

4) Allow always to receive an error (now it's possible to send back an error only if the task action is sync), in sync or async way. An error received via async interface can be worth to show it in the error log;

5) Allow the transfer of big data without the lmits of intent payload;