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