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

Hi,

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
miui_install_this_app_via_usb

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

Regards,
Chp

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.