summaryrefslogtreecommitdiff
path: root/opengl/java
diff options
context:
space:
mode:
author chenxin20 <chenxin20@xiaomi.com> 2024-09-24 11:14:46 +0800
committer chenxin20 <chenxin20@xiaomi.com> 2024-09-24 19:08:15 +0800
commitaff86a2c1aee81d941ad8b416455a1454747079c (patch)
tree69e75d8c304c48393285df6e9f37edad4d7c44ec /opengl/java
parenteff5e7d7dc16a5e41b883943624c47632ac0da32 (diff)
audio: add try catch for BluetoothLeAudio.registerCallback in BtHelper.java
The LE proxy to the BT service were initialized on profile connection, but were never reset on profile disconnection in BtHelper. Wrapped the calls to the BT proxies with try/catch as the notification that a profile disconnected can happen while the proxy is used. 09-04 01:59:48.703 1000 3272 4896 E AndroidRuntime: *** FATAL EXCEPTION IN SYSTEM PROCESS: AudioDeviceBroker 09-04 01:59:48.703 1000 3272 4896 E AndroidRuntime: java.lang.RuntimeException: android.os.DeadObjectException 09-04 01:59:48.703 1000 3272 4896 E AndroidRuntime: at android.bluetooth.BluetoothLeAudio.registerCallback(BluetoothLeAudio.java:979) 09-04 01:59:48.703 1000 3272 4896 E AndroidRuntime: at com.android.server.audio.BtHelper.onBtProfileConnected(BtHelper.java:992) Change-Id: Ia1d8e307054e77e99d472e192f16f6f70f3f11c4 Signed-off-by: chenxin20 <chenxin20@xiaomi.com>
Diffstat (limited to 'opengl/java')
0 files changed, 0 insertions, 0 deletions