The timer was only for a test to reproduce the problem. Indeed my phone for testing is a Huawei P30pro

.
I reproduced the problem with some shaking lamp apps of the playstore.
Most of the apps are showing at installation a warning message of this behavior.
I am wondering why google assistent is working in standby mode. I remember that I had to give a permisson before.
My question is , is there a possibilty ?