Researchers have discovered a bug in the Android operating system which affects nearly a billion mobile phones. The flaw can…