android BluetoothDevice.getName () return null

Em algum momento, BluetoothDevice.getName () retornará nulo. Como posso corrigir isso? remoteDeviceName talvez nulo no código a seguir. E eu preciso distinguir meu dispositivo e outros dispositivos por remoteDeviceName.

BluetoothAdapter.getDefaultAdapter().startLeScan(new LeScanCallback() {
            @Override
            public void onLeScan(final BluetoothDevice device, final int rssi,
                    byte[] scanRecord) {
                    String remoteDeviceName = device.getName();
                  Log.d("Scanning", "scan device " + remoteDeviceName);
            });

questionAnswers(6)

yourAnswerToTheQuestion