Fixed
Status Update
Comments
lb...@gmail.com <lb...@gmail.com> #2
Note that extending InCallService isn't a good solution, because it also requires you to become the default dialer app.
Plus it doesn't let you have multiple apps that allow rejection of calls.
Plus it doesn't let you have multiple apps that allow rejection of calls.
vi...@google.com <vi...@google.com>
vi...@google.com <vi...@google.com> #3
We have passed this to the development team and will update this issue with more information as it becomes available.
vi...@google.com <vi...@google.com> #5
Please find the below comment received from our development team:
"The latest Android P preview release adds the following API which can be used to handle the use case of rejecting calls:
https://developer.android.com/reference/android/telecom/TelecomManager.html#endCall() "
"The latest Android P preview release adds the following API which can be used to handle the use case of rejecting calls:
lb...@gmail.com <lb...@gmail.com> #6
@5 Yes, that's what I've found too.
Can you please check the code I've published, to tell me if it's ok to use it this way?
Can you please check the code I've published, to tell me if it's ok to use it this way?
vi...@google.com <vi...@google.com> #7
Sure, I have forwarded comment #4 , and waiting for their response. Thanks
lb...@gmail.com <lb...@gmail.com> #8
@7 Thank you for being kind.
lb...@gmail.com <lb...@gmail.com> #9
@7 I've found a possible scenario that the new API of ending a call could be an issue:
https://issuetracker.google.com/issues/111960167
Please consider it.
Please consider it.
Description
Sometimes people might even use multiple of them.
There is no official API to reject calls, so what apps use is via reflection , for example as such:
While this is not the most elegant solution, this worked fine so far, and a lot of apps count on it.
Trying out on Android P, I've noticed this is not working anymore. I've tested a lot of popular and unpopular apps and all fail to block calls.
Please provide an easy API for blocking calls.
This means, that the app (or multiple apps, if the user chooses) can decide whether the incoming call should be blocked, and hang up to it.
If there is an API for this, which will let users have even multiple call-blocking apps, please let me know