Malware infects nearly 1 million android phones