Loading framework/java/android/bluetooth/BluetoothHapClient.java +1 −3 Original line number Diff line number Diff line Loading @@ -88,11 +88,9 @@ public final class BluetoothHapClient implements BluetoothProfile, AutoCloseable service.registerCallback(mCallback, mAttributionSource, recv); recv.awaitResultNoInterrupt(getSyncTimeout()).getValue(null); } } catch (TimeoutException e) { } catch (RemoteException | TimeoutException e) { Log.e(TAG, e.toString() + "\n" + Log.getStackTraceString(new Throwable())); } catch (RemoteException e) { throw e.rethrowFromSystemServer(); } } } Loading framework/java/android/bluetooth/BluetoothLeAudio.java +1 −3 Original line number Diff line number Diff line Loading @@ -91,10 +91,8 @@ public final class BluetoothLeAudio implements BluetoothProfile, AutoCloseable { service.registerCallback(mCallback, mAttributionSource, recv); recv.awaitResultNoInterrupt(getSyncTimeout()).getValue(null); } } catch (TimeoutException e) { } catch (RemoteException | TimeoutException e) { Log.e(TAG, "Failed to register callback", e); } catch (RemoteException e) { throw e.rethrowFromSystemServer(); } } } Loading framework/java/android/bluetooth/BluetoothLeBroadcast.java +6 −5 Original line number Diff line number Diff line Loading @@ -194,11 +194,12 @@ public final class BluetoothLeBroadcast implements AutoCloseable, BluetoothProfi recv.awaitResultNoInterrupt(getSyncTimeout()) .getValue(null); } } catch (TimeoutException e) { Log.e(TAG, "onBluetoothServiceUp: Failed to register " + "Le Broadcaster callback", e); } catch (RemoteException e) { throw e.rethrowFromSystemServer(); } catch (RemoteException | TimeoutException e) { Log.e( TAG, "onServiceConnected: Failed to register " + "Le Broadcaster callback", e); } } } Loading Loading
framework/java/android/bluetooth/BluetoothHapClient.java +1 −3 Original line number Diff line number Diff line Loading @@ -88,11 +88,9 @@ public final class BluetoothHapClient implements BluetoothProfile, AutoCloseable service.registerCallback(mCallback, mAttributionSource, recv); recv.awaitResultNoInterrupt(getSyncTimeout()).getValue(null); } } catch (TimeoutException e) { } catch (RemoteException | TimeoutException e) { Log.e(TAG, e.toString() + "\n" + Log.getStackTraceString(new Throwable())); } catch (RemoteException e) { throw e.rethrowFromSystemServer(); } } } Loading
framework/java/android/bluetooth/BluetoothLeAudio.java +1 −3 Original line number Diff line number Diff line Loading @@ -91,10 +91,8 @@ public final class BluetoothLeAudio implements BluetoothProfile, AutoCloseable { service.registerCallback(mCallback, mAttributionSource, recv); recv.awaitResultNoInterrupt(getSyncTimeout()).getValue(null); } } catch (TimeoutException e) { } catch (RemoteException | TimeoutException e) { Log.e(TAG, "Failed to register callback", e); } catch (RemoteException e) { throw e.rethrowFromSystemServer(); } } } Loading
framework/java/android/bluetooth/BluetoothLeBroadcast.java +6 −5 Original line number Diff line number Diff line Loading @@ -194,11 +194,12 @@ public final class BluetoothLeBroadcast implements AutoCloseable, BluetoothProfi recv.awaitResultNoInterrupt(getSyncTimeout()) .getValue(null); } } catch (TimeoutException e) { Log.e(TAG, "onBluetoothServiceUp: Failed to register " + "Le Broadcaster callback", e); } catch (RemoteException e) { throw e.rethrowFromSystemServer(); } catch (RemoteException | TimeoutException e) { Log.e( TAG, "onServiceConnected: Failed to register " + "Le Broadcaster callback", e); } } } Loading