I'm currently hiding sensitive notification content from the lock screen. I did that by going in Settings>Notifications>Configure notifications>On the lock screen>Hide sensitive notification content.

Now it shows Contents hidden on my lock screen. I'd like to be able to see the notification but remove that text "Contents hiddens".

Is that possible?

Screenshot. Picture

Thank you

  • Yah just go to settings>lockscreen and security>notifications on lockscreen and don't allow that app to post a notification to the lockscreen not sure what phone you have so that could be a slightly different path. If you are just trying to remove the "contents hidden" text I'm not sure there is a way at the moment. I'll look into it
    – asloss
    Mar 22, 2017 at 15:53
  • @asloss I still want to see the notification, I just want to hide the text. I will update my question to clarify.
    – phil652
    Mar 22, 2017 at 16:24
  • Were you able to try the solution posted ?
    – beeshyams
    Mar 24, 2017 at 1:54

1 Answer 1


It should be possible using automation. I prefer Macrodroid, being easy to learn and free (upto 5 macros)

Note: Not tested on Nougat ( I don't have it)

The macro would look like this ( on the left is the macro) and on right is detailed configuration for second action Display Notification

enter image description here enter image description here


  1. Your messaging app (Textra in my case) generates a notification which has hidden in it - This is the trigger ( you can choose multiple apps as I see from your screenshot, you have two apps)

  2. First action is to clear such notifications

  3. Second action is to substitute that notification with your customised message - you have a message in the example

This is the bare bones macro , you can play around with it and confirm whether it suits your needs - you can customise a lot in the second action by choosing options from ...

Clicking this on lock screen will NOT launch your messaging app. If you want that to be done create another macro, where

Trigger: Empty Trigger

Action: Launch Application → select your messaging app

Constraints​ : None

Name this macro whatever you like (say, launch messaging app ) and on the second action of first macro tick Invoke macro when pressed and choose launch messaging app

For a rooted device ( and when Nougat gets xposed ) , SMS Xposed has hide sender , hide message options

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .