According to Android documentation, the MANAGE_OWN_CALLS permission isn't required for system-managed ConnectionService APIs.
The Android system however requires the permission for Android 13 and lower. If not provided (atleast declared in AndroidManifest.xml), the app crashes with a SecurityException.
Changes include:
Update to Android Manifest
Add native implementation, and safety catch for security exception
According to Android documentation, the
MANAGE_OWN_CALLS
permission isn't required for system-managedConnectionService
APIs.The Android system however requires the permission for Android 13 and lower. If not provided (atleast declared in
AndroidManifest.xml
), the app crashes with aSecurityException
.Changes include: