I am using a mobile which is having Android Marshmallow. Whenever someone is sending a Whatsapp message to me when the phone is locked. The message is showing up in lock-screen as plain text.
So anyone can just pick up my phone and press the unlock button and they can see what someone texted me without unlocking the phone.
How to stop this from happening?