In all honesty, I find this hard to believe, do you mind providing any sources to your claim? I'm a Xiaomi user myself, particularly, a Mi 10T owner, and I can tell you, when they say, "买小米,送bug" (directly translates to: buy a Xiaomi Phone, and you'll get free bugs), they are by no means joking. Before getting a Mi 10T (my first Xiaomi phone, was a Samsung user), I thought to myself, Xiaomi should not be as bad as they say right, and oh boy, how wrong I was. The phone is absolutely plagued with bugs, even the proximity sensor is dogshit, whenever you're listening to voice messages, the phone will just shut off, and remain unresponsive for the entire duration of your voice message. Do keep in mind that this is just one of the more prominent bugs. Others such as inconsistent UI elements and MIUI's awful adaptive sync are also honourable mentions. A simple Google search and you shall be presented with plenty of anecdotes by Xiaomi users across the globe with all flavours of bugs and software glitches. Surely, such bugs don't really affect day to day use, but down the road, they can get pretty annoying. If you're that kind of person who's very particular about minor details and having a polished UI, trust me, save yourself the time and effort, just get something else like a Samsung or in this case, a Pixel.