Merge "Bluetooth: Fix formatting in getAlias()" into rvc-dev am: 16a307631e
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15616111 Change-Id: Ia7ce6aaebccf6f3460ad576a9e703858584fcd93
This commit is contained in:
@@ -1081,7 +1081,10 @@ public final class BluetoothDevice implements Parcelable {
|
|||||||
if (alias == null) {
|
if (alias == null) {
|
||||||
return getName();
|
return getName();
|
||||||
}
|
}
|
||||||
return alias;
|
return alias
|
||||||
|
.replace('\t', ' ')
|
||||||
|
.replace('\n', ' ')
|
||||||
|
.replace('\r', ' ');
|
||||||
} catch (RemoteException e) {
|
} catch (RemoteException e) {
|
||||||
Log.e(TAG, "", e);
|
Log.e(TAG, "", e);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user