I have a Huawei Honor 8. It’s a great phone, but has a few annoyances. One of my biggest annoyances is that when I plug my phone into my charging dock (connected to my computer) I see this:
It’s incredibly annoying, as my phone comes in and out of the charge cradle probably 20 times a day. It also happens when I plug my phone into my car to charge it
I finally took a few minutes to search through the settings to see if I could disable it, and I found it!
Make sure ‘Always prompt when connecting to USB’ is unchecked in Developer Options.