Fix has been officially pushed to dev channel (Thank you Adam).

I therefore did close the issue:

https://gitlab.com/ubports/porting/community-ports/android10/xiaomi-redmi-note-9-pro/xiaomi-miatoll/-/issues/25