On Lollipop, the text message notification on the lock screen includes some of the content of the text message. For two-factor code text messages, this will display the two factor code to anyone holding the phone even if they cannot unlock it. This seems like a security issue.
There seems to be a setting that more carefully hides the contents of notifications on the lock screen but that makes many of the other notifications useless it is hides data which I feel is useful and harmless to share.
I guess the options are:
- Hide the content and put up with the inconvenience on other apps in the name of security.
- Disable notifications from the messages app but then I have no way to know if there are new messages without manually checking.
- Hide the content and petition other app makers to not respect that setting if the content isn't sensitive. Though I can easily think of examples that I might not consider sensitive but others might.
Are there other options available here? I'd love it if the messages app had a setting to control that behaviour. I'd be happy with the text message sender being displayed instead of the content.