If registered as the default app, it seems like we would get *both* SMS_RECEIVED and SMS_DELIVERED, which would duplicate every incoming message. I think you'll need to add something into isRelevant() to account for that.