Loading framework/java/android/bluetooth/BluetoothDevice.java +5 −1 Original line number Diff line number Diff line Loading @@ -727,7 +727,11 @@ public final class BluetoothDevice implements Parcelable { return null; } try { return sService.getRemoteName(this); String name = sService.getRemoteName(this); if (name != null) { return name.replaceAll("[\\t\\n\\r]+", " "); } return null; } catch (RemoteException e) {Log.e(TAG, "", e);} return null; } Loading Loading
framework/java/android/bluetooth/BluetoothDevice.java +5 −1 Original line number Diff line number Diff line Loading @@ -727,7 +727,11 @@ public final class BluetoothDevice implements Parcelable { return null; } try { return sService.getRemoteName(this); String name = sService.getRemoteName(this); if (name != null) { return name.replaceAll("[\\t\\n\\r]+", " "); } return null; } catch (RemoteException e) {Log.e(TAG, "", e);} return null; } Loading