Added code to set AndroidPublicKey