After added below contents into homescreen-service config.xml file, when using `afm-util remove xxx@version` to uninstall application, afm-main circularly broadcast application-list-changed event.
The issue is not relative to linked-list. It comes from the implementation of broadcast events that just propagate it.
As I wrote, the circular dependency of APIs is good to have even if it probably reveal an issue in decomposition of APIs. In the case of vshl/asr, we know that the current implementation can be improved by adding some API for removing this circular dependency.
I made a change that fix the issue. I'll clean it and submit it soon.
zhiqiang wang
July 17, 2019 at 6:17 AM
In my case, delete vshl-capabilities depending on homescreen can solve this issue, but I was interesting in why "homescreen depends on vshl-capabilities that depends on homescreen" could influence af-main, it seems that a linked list has a loop.
jose bollo
July 16, 2019 at 10:50 AM
homescreen depends on vshl-capabilities that depends on homescreen etc.
Should we forbid such loop? I'm not sure and would like to provide a solution for this kind of problem.
After added below contents into homescreen-service config.xml file, when using `afm-util remove xxx@version` to uninstall application, afm-main circularly broadcast application-list-changed event.
reference code:
homescreen-service
agl-service-voice-high-capabilities
log: