The device operating system is unimportant for this issue. The idea is that while recharging your device by plugging it into a USB port you can inadvertently provide access to your device to hackers and 'bad acfors'. To avoid this potential problem there are a number of things you can do:
1. avoid charging a device at the airport;
2. use an adapter to plug in to a wall socket rather than a USB;
3. carry around a backup battery for charging while travelling;
4. purchase and use a power only cable (see post #4), which has the data pins removed.
Now, whether and how you use your device(s) in an airport is an entirely different topic!