For years, Google has been working hard to make Android an OS that is as secure as it is functional, without sacrificing the virtues that distinguish it from more restrictive competitors, such as iOS.