Description
On some Samsung devices there is a problem when a default calling account has not been chosen. When a call is made from the Phone app, the call with dialog should show the SIM and the CallKeep app but it is blank.
This has been reproduced on Samsung S9 with Android 9 (but was fixed in a security patch from Samsung) and Samsung Note 9 with Android 9 (no security patch available yet), but works correctly on Samsung S8 with Android 9.
I know this is not a problem with the library and is a Samsung OS issue, but a possible workaround could be checking if a default is set (with telecomManager.getDefaultOutgoingPhoneAccount("tel")
) and sending the user to the calling accounts settings (TelecomManager.ACTION_CHANGE_PHONE_ACCOUNTS
) for them to set a default.