At the G20 summit, Chinese President Xi Jinping scolded Trudeau in an unusual public dressing-down, caught on video.
Relations between the two countries hit a chill in 2018 when Canadian authorities arrested Huawei executive Meng Wanzhou on charges of violating US sanctions on Iran.
Beijing later detained two Canadian citizens, Michael Spavor and Michael Kovrig, in China in what critics called a tit-for-tat response.
Meng and the Canadian were both released after lengthy negotiations last year.