blob: 6e39215ef265e49cd07d0bbe4d9f0e6f1a9b5a8f [file] [log] [blame]
/*
* SPDX-FileCopyrightText: The LineageOS Project
* SPDX-License-Identifier: Apache-2.0
*/
package com.android.incallui.util;
import android.annotation.SuppressLint;
import android.bluetooth.BluetoothDevice;
public class BluetoothUtil {
@SuppressLint("MissingPermission")
public static String getAliasName(BluetoothDevice bluetoothDevice) {
return bluetoothDevice == null ? "" : bluetoothDevice.getAlias();
}
}