By default, Android shows notification text right on the lock screen. That is convenient — until someone glances at your phone on the bus and reads a personal message. The fix is a few taps away.
The privacy problem
Lock-screen notifications display sender and content without unlocking. On a lost or borrowed phone, that exposes OTPs, messages, and work alerts. Android gives you graduated control so you can keep alerts useful while hiding the sensitive parts.
Hide all sensitive content
- Open Settings → Notifications → Notifications on lock screen (path varies by maker).
- Choose Hide sensitive content: the sender shows, but the body is replaced with "Contents hidden".
- Or pick Don't show notifications at all for maximum privacy (you will only see them after unlocking).
On Samsung this lives under Settings → Lock screen → Notifications. On Pixel it is Settings → Notifications → Lock screen.
Per-app lock-screen control
You rarely need an all-or-nothing rule. Go to Settings → Notifications → App notifications → [app], then open its notification category (see our channels guide) and set Lock-screen to "Hide" for sensitive channels like personal messages, while leaving calendars visible.
Privacy with Dingpin
Dingpin is built private by design: notifications are handled on your device, with no account and no cloud sync. You decide what to pin, and pinned items live only on your phone. Combined with hidden lock-screen content, you get both convenience and peace of mind.
What "lock screen notifications" includes
By default, the lock screen can show four pieces of information for each notification:
- The notification icon.
- The app name.
- The sender (for messaging apps).
- The message preview or first line of text.
That last one — the message preview — is what most people want to hide for privacy. The other three give away that you got a notification from a particular app, which is itself information.
Three privacy levels
Android offers three preset levels for lock-screen notification visibility:
- Show all content. Everything visible, including message previews. Convenient but exposes private content to anyone glancing at your phone.
- Hide sensitive content. App icons and names appear, but the content of sensitive alerts (OTPs, banking, certain messaging apps) is hidden until you unlock. A reasonable middle ground.
- Hide all notifications. Nothing shows on the lock screen. You have to unlock to see anything.
How to set your preferred level
- Settings → Notifications → Notifications on lock screen (path varies by brand).
- Choose: Show all content / Hide sensitive content / Hide all.
- For per-app overrides: Settings → Apps → [app] → Notifications → Lock screen → override.
Hide by category, not just by app
Apps that use notification channels can be controlled per channel. Useful for messaging apps where you might want:
- Direct messages: visible on lock screen.
- Group messages: hidden content on lock screen.
- Promotional notifications: hidden entirely.
Brand-specific paths
The lock-screen notification setting lives in different places on each Android skin:
- Pixel / stock Android. Settings → Notifications → Notifications on lock screen.
- Samsung One UI. Settings → Notifications → Lock screen notifications.
- Xiaomi HyperOS. Settings → Notifications → Lock screen.
For deeper dives on each: hide lock screen notification content, Samsung-specific, Pixel-specific, and Xiaomi-specific.