TrustedIntents: flexible trusted interactions between Android apps