How do you keep the default phone interface from popping up when using Android TelecomManager?

128 views Asked by At

I currently have an application that uses android's TelecomManager to implement calls on a custom interface on a tablet. When accepting a call via addNewIncomingCall, a pop-up of the default android phone call interface loads in front of the app interface. The first two solutions I tried after looking at the TelecomManager documentation, setting the TelecomManager.METADATA_IN_CALL_SERVICE_UI flag and calling the showInCallScreen(false) function, don't do anything. Nothing else in the documentation seems like it would do what I'm trying to do. Am I missing something here? What's the correct way to either hide or exit this screen automatically?

1

There are 1 answers

7
user496854 On

Have you tried setting your app as the default Phone app in the device settings?