diff options
author | Sailesh Nepal <sail@google.com> | 2016-01-24 18:21:53 -0800 |
---|---|---|
committer | Sailesh Nepal <sail@google.com> | 2016-01-27 13:54:12 -0800 |
commit | 1bef339b88b3f760603dcc08d79a62647fc18296 (patch) | |
tree | edbd1c73921724babcf9dabc7418170e840c562e /rs/java/android/renderscript/ProgramVertexFixedFunction.java | |
parent | 9c2618b17fe580d70994ba8f5d999f20804575f9 (diff) |
Add new public API to allow call screening
This CL adds a new service that the default dialer can implement to
screen incoming calls.
If the service is implemented then Telecom uses it to decide if a call
should be shown to the user or rejected.
Note, I initially tried to simply extend InCallService instead of
creating a whole new service. The problem with this approach is that:
- this breaks some in call services which show UI as soon as they are
bound to
- the in call service lifecycle is tightly coupled to adding and
removing calls. Call screening happens before a call is added which
makes it a bad fit to in call service
- call screening is a function of only the default dialer's in call
service but the existing code also binds to "controller" call
services
For these reasons it seemed simpler to just create a new optional
service.
BUG: 22857261
Change-Id: I53f2ef93360e0af19b6ce45af21026be6cf3a7f3
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions