Description
Android app is crashing when initiate or answer the Zoom call
The crash log is
Fatal Exception: java.lang.SecurityException: Need android.permission.BLUETOOTH_CONNECT permission for android.content.AttributionSource@a087be58: HeadsetService
at android.os.Parcel.createExceptionOrNull(Parcel.java:2437)
at android.os.Parcel.createException(Parcel.java:2421)
at android.os.Parcel.readException(Parcel.java:2404)
at android.os.Parcel.readException(Parcel.java:2346)
at android.bluetooth.IBluetoothHeadset$Stub$Proxy.getConnectedDevicesWithAttribution(IBluetoothHeadset.java:1518)
at android.bluetooth.BluetoothHeadset.getConnectedDevices(BluetoothHeadset.java:671)
at us.zoom.androidlib.util.HeadsetUtil$1.onServiceConnected(HeadsetUtil.java:17)
at android.bluetooth.BluetoothHeadset$3.handleMessage(BluetoothHeadset.java:1629)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loopOnce(Looper.java:226)
at android.os.Looper.loop(Looper.java:313)
at android.app.ActivityThread.main(ActivityThread.java:8582)
at java.lang.reflect.Method.invoke(Method.java)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:563)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1133)
Also, I have declared BLUETOOTH_CONNECT permission in manifest, but still the app is crashing.
<uses-permission android:name="android.permission.BLUETOOTH_CONNECT" />
Which Android Meeting SDK version?
v5.9.0.3588.
To Reproduce(If applicable)
Steps to reproduce the behavior:
- Issue is occurring in all Android 12 version devices