Loading framework/java/android/bluetooth/BluetoothHeadset.java +0 −5 Original line number Original line Diff line number Diff line Loading @@ -819,7 +819,6 @@ public final class BluetoothHeadset implements BluetoothProfile { return service.getAudioState(device, mAttributionSource); return service.getAudioState(device, mAttributionSource); } catch (RemoteException e) { } catch (RemoteException e) { Log.e(TAG, e.toString() + "\n" + Log.getStackTraceString(new Throwable())); Log.e(TAG, e.toString() + "\n" + Log.getStackTraceString(new Throwable())); throw e.rethrowAsRuntimeException(); } } } } return BluetoothHeadset.STATE_AUDIO_DISCONNECTED; return BluetoothHeadset.STATE_AUDIO_DISCONNECTED; Loading Loading @@ -878,7 +877,6 @@ public final class BluetoothHeadset implements BluetoothProfile { return BluetoothStatusCodes.SUCCESS; return BluetoothStatusCodes.SUCCESS; } catch (RemoteException e) { } catch (RemoteException e) { Log.e(TAG, e.toString() + "\n" + Log.getStackTraceString(new Throwable())); Log.e(TAG, e.toString() + "\n" + Log.getStackTraceString(new Throwable())); throw e.rethrowAsRuntimeException(); } } } } Loading Loading @@ -913,7 +911,6 @@ public final class BluetoothHeadset implements BluetoothProfile { : BluetoothStatusCodes.NOT_ALLOWED; : BluetoothStatusCodes.NOT_ALLOWED; } catch (RemoteException e) { } catch (RemoteException e) { Log.e(TAG, e.toString() + "\n" + Log.getStackTraceString(new Throwable())); Log.e(TAG, e.toString() + "\n" + Log.getStackTraceString(new Throwable())); throw e.rethrowAsRuntimeException(); } } } } Loading Loading @@ -995,7 +992,6 @@ public final class BluetoothHeadset implements BluetoothProfile { return service.connectAudio(mAttributionSource); return service.connectAudio(mAttributionSource); } catch (RemoteException e) { } catch (RemoteException e) { Log.e(TAG, e.toString() + "\n" + Log.getStackTraceString(new Throwable())); Log.e(TAG, e.toString() + "\n" + Log.getStackTraceString(new Throwable())); throw e.rethrowAsRuntimeException(); } } } } Loading Loading @@ -1046,7 +1042,6 @@ public final class BluetoothHeadset implements BluetoothProfile { return service.disconnectAudio(mAttributionSource); return service.disconnectAudio(mAttributionSource); } catch (RemoteException e) { } catch (RemoteException e) { Log.e(TAG, e.toString() + "\n" + Log.getStackTraceString(new Throwable())); Log.e(TAG, e.toString() + "\n" + Log.getStackTraceString(new Throwable())); throw e.rethrowAsRuntimeException(); } } } } Loading Loading
framework/java/android/bluetooth/BluetoothHeadset.java +0 −5 Original line number Original line Diff line number Diff line Loading @@ -819,7 +819,6 @@ public final class BluetoothHeadset implements BluetoothProfile { return service.getAudioState(device, mAttributionSource); return service.getAudioState(device, mAttributionSource); } catch (RemoteException e) { } catch (RemoteException e) { Log.e(TAG, e.toString() + "\n" + Log.getStackTraceString(new Throwable())); Log.e(TAG, e.toString() + "\n" + Log.getStackTraceString(new Throwable())); throw e.rethrowAsRuntimeException(); } } } } return BluetoothHeadset.STATE_AUDIO_DISCONNECTED; return BluetoothHeadset.STATE_AUDIO_DISCONNECTED; Loading Loading @@ -878,7 +877,6 @@ public final class BluetoothHeadset implements BluetoothProfile { return BluetoothStatusCodes.SUCCESS; return BluetoothStatusCodes.SUCCESS; } catch (RemoteException e) { } catch (RemoteException e) { Log.e(TAG, e.toString() + "\n" + Log.getStackTraceString(new Throwable())); Log.e(TAG, e.toString() + "\n" + Log.getStackTraceString(new Throwable())); throw e.rethrowAsRuntimeException(); } } } } Loading Loading @@ -913,7 +911,6 @@ public final class BluetoothHeadset implements BluetoothProfile { : BluetoothStatusCodes.NOT_ALLOWED; : BluetoothStatusCodes.NOT_ALLOWED; } catch (RemoteException e) { } catch (RemoteException e) { Log.e(TAG, e.toString() + "\n" + Log.getStackTraceString(new Throwable())); Log.e(TAG, e.toString() + "\n" + Log.getStackTraceString(new Throwable())); throw e.rethrowAsRuntimeException(); } } } } Loading Loading @@ -995,7 +992,6 @@ public final class BluetoothHeadset implements BluetoothProfile { return service.connectAudio(mAttributionSource); return service.connectAudio(mAttributionSource); } catch (RemoteException e) { } catch (RemoteException e) { Log.e(TAG, e.toString() + "\n" + Log.getStackTraceString(new Throwable())); Log.e(TAG, e.toString() + "\n" + Log.getStackTraceString(new Throwable())); throw e.rethrowAsRuntimeException(); } } } } Loading Loading @@ -1046,7 +1042,6 @@ public final class BluetoothHeadset implements BluetoothProfile { return service.disconnectAudio(mAttributionSource); return service.disconnectAudio(mAttributionSource); } catch (RemoteException e) { } catch (RemoteException e) { Log.e(TAG, e.toString() + "\n" + Log.getStackTraceString(new Throwable())); Log.e(TAG, e.toString() + "\n" + Log.getStackTraceString(new Throwable())); throw e.rethrowAsRuntimeException(); } } } } Loading