I've just spoken to a friend in IT... connecting to networks should manual - unless you have set your device to connect to any available network automatically. your tablet or phone shouldn't just be able to connect to random networks even if they are free and unlocked.
You could also see if two-step authentication for g-mail is turned on.