A company I worked for (property appraisal company) got acquired by another company. They forced one of the higher up developers out. 6 months later that developer wrote an app dealing with lines at Disney and was making money on ad revenue. The company came after him claiming they owned it because he used skills and knowledge he gained while employed to write that app. We had a "everything you do at any time belongs to us" contract.
He was at the original company for 15 years at the time and was the 2nd developer at the company. So he had a lot of friends at the company and he told his friends at the company that he made this cool app and word got around because everyone thought it was harmless to repeat.
Google has an application process where, before you've written any code, you can ask for copywrite release. However, if you don't do that, they can and WILL claim ownership over your personal projects. It's happened to me.
Google is actually pretty good about this. They clarify some areas that are no-no, and there is a simple process for asking if a side project can be released as open source.