If an android device has some something malicious on it that can also target/affect PCs. And that device is connected to a PC via USB, by default it automatically chooses to start charging.
Is there any risk that anything could be transferred to the PC? As in, is it possible for a split second before it chooses the "Charging" setting that it allows some data transfer to the computer?
At work we are warned not to connect and USB devices to our computers but a colleague had told me that they charge their phone (Google Pixel - Android 9 Pie) via USB and since charging is chosen by default it's fine. While this seems totally logical wasn't sure if it was exactly true?