Android O : PHONE_STATE broadcast limitation

后端 未结 6 1910
一整个雨季
一整个雨季 2021-02-06 22:12

I have been trying to do something similar to truecaller app, where my app is supposed to show a screen after a call gets hung up. Was achieving this by registering androi

6条回答
  •  情歌与酒
    2021-02-06 23:04

    There seems to be an broadcast exception for ACTION_NEW_OUTGOING_CALL but not one for incoming call (or when call ends). It seems like a bug to have one for outgoing but not one for incoming. There's been a bug report filed in google issue tracker. Hopefully their answer will clarify what we should be doing.

    I'll update this answer if/when the bug tracker gets updated.

提交回复
热议问题