k3b / intent-intercept

Android dev tool to view inter-app communication
Apache License 2.0
201 stars 20 forks source link

android.telecom.InCallService / Dialer #8

Closed bdbais closed 2 years ago

bdbais commented 5 years ago

Is it possible to intercept the default dialer indent anche change a text box inside (like caller name or phone number) for privacy enhancement?

k3b commented 5 years ago

I donot know, if it is possible. Currently intent-intercept only intercepts Activity resolution. This looks like you need to implement and register a service before beeing allowed to intercept.....

From https://developer.android.com/reference/android/telecom/InCallService we need to intercept

which seems to possible only if you register a service for

but i donot know if this will work. Can you do and test it?