Turn off custom layout on EMUI by default
EMUI, xiaomi's version of Android, doesn't like it when you have a custom layout. Without rooting your phone there is no lock screen widget. If possible detect this and adjust settings.
See
https://www.xda-developers.com/how-to-add-third-party-music-apps-emui-lock-screen/
1
vote
Vera
shared this idea