Priority in a broadcast receiver to receive calls

前端 未结 4 1815
时光取名叫无心
时光取名叫无心 2020-12-06 13:00

My intention is to make a Broadcast receiver that performs actions when receiving a call. Is it possible that had more priority than the automatic call rece

4条回答
  •  温柔的废话
    2020-12-06 13:27

    Actually, I don't think that 2147483647 is the best value to use, because Android won't understand it and will ignore this value. What you have to do is try to set the priority to 999, since I guess 1000 is the maximum value.

提交回复
热议问题