two service with the same intent filter

前端 未结 2 1771
自闭症患者
自闭症患者 2021-01-04 05:25

I have two applications installed on my device,each with a service component in it and these two service has the same intent filter declaration,like this:

&l         


        
2条回答
  •  情歌与酒
    2021-01-04 06:11

    If there are more than 1 Service with the same intent-filter then Android OS randomly selects one of these Services and pass to it the intent.

提交回复
热议问题