The Xiaomi Mi A1 was launched back in 2017 and has received its two promised major OS updates. The phone may not receive an official Android 10 update from Xiaomi, but that doesn't have to be where it ends for Mi A1 owners.
https://www.notebookcheck.net/The-Mi-A1-will-never-get-an-Android-10-update-but-that-isn-t-the-end-of-the-road.465645.0.html