Xiaomi devices - how to disable "Install via USB" dialog on "adb install my.apk"


I have automated process of installation apps on Android devices. It works fine for me for all android devices except of Xiaomi MI 9, MIUI 12

Each time command
adb install my.apk
shows on device below dialog. If “Deny” is not presses installation fails

How to disable “Install via USB” dialog on Xiaomi MI 9, MIUI 12?


Is there anything better than turn off “Turn on MIUI optimization”?
As I understood “Turn on MIUI optimization” disable many Xiaomi optimization and function: for example updates.