Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 44dc2b27 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "DO NOT MERGE Bluetooth: Fix formatting in getAlias()" into pi-dev

parents a0226b4d 3bdad2df
Loading
Loading
Loading
Loading
+8 −1
Original line number Diff line number Diff line
@@ -894,7 +894,14 @@ public final class BluetoothDevice implements Parcelable {
            return null;
        }
        try {
            return service.getRemoteAlias(this);
            String alias = service.getRemoteAlias(this);
            if (alias == null) {
                return getName();
            }
            return alias
                    .replace('\t', ' ')
                    .replace('\n', ' ')
                    .replace('\r', ' ');
        } catch (RemoteException e) {
            Log.e(TAG, "", e);
        }