As the main developer, Google tries to make it as secure as possible. Phone OEMs also try to do the same, but with this hell like fragmentation, it just doesn’t work. Windows phone is a good (if not perfect) middle ground
Read this post on gettinggeek.com