r/AndroidQuestions • • 16d ago

Device Settings Question Allowing only a small subset of notifications to show up on the lock screen?

I'm running rooted Android 13.

I know that I can toggle Settings=>Notifications=>Notifications on lock screen to either enable all notifications to appear on the lock screen or to disable all notifications from appearing on the lock screen.

However, if possible, I'd like to allow the notifications from only a very small group of apps to show up on the lock screen, with all other apps' notifications remaining absent from the lock screen and only showing up when the screen is unlocked.

Is there any way to enable this capability? Or am I out of luck?

1 Upvotes

9 comments sorted by

2

u/Klutzy-Passage-2561 16d ago

On stock-ish Android 13 the global lock-screen switch is all-or-nothing; the per-app Lock screen toggle lives under each notification category, not always on the app top Notifications page — open an app → Notifications → tap a channel → Lock screen.

If your ROM hides that (common on some A13 skins), with root you can set lockscreen visibility per UID via AppOps / cmd notification, or use a module that exposes channel lock-screen controls. Without that UI, you are basically stuck with hide-all plus an allowlist via a third-party notification filter.

1

u/unselective-amnesia 15d ago edited 15d ago

Thank you very much. On my device there is no per-app lockscreen toggle under any notification categories. I get things like "Pop on screen", "Sound", "Vibration", etc., but nothing related to lockscreen.

I'll check AppOps.

And I have a 3rd-party noftication-filter app, but to get my desired results, I'd have to enable the global notifications-on-lockscreen setting and then manually set the filter for each of the more than 300 apps that are installed whose notifications I don't want to appear on the lockscreen. And even then, I'm not sure that the notification filter app can control whether a notification appears or doesn't appear on the lockscreen. I think it only allows toggling of totally blocking the notifications or totally allowing them for each selected app.

I've checked for 3rd-party utilities and couldn't find any for this purpose, but I'll check again.

I'll report back later today.

1

u/unselective-amnesia 15d ago edited 15d ago

I was able to check AppOps on my phone via two different apps. Unfortunately, there are no settings available on my device which manage the visibility of notifications on the lock screen. The only notification-related option that's offered is this ...

android.permission.POST_NOTIFICATIONS

... and it's only an on/off toggle which is set to "on" by default in all apps for which notifications are enabled. And there are no options offered that have anything to do with the lockscreen.

And after checking, I see that indeed my notification-filter app only offers to totally block or totally permit notifications, and it doesn't offer any lockscreen-related notification filtering.

So, unless I can find a special-purpose module for Magisk/APatch or for LSPosed, it looks like I'm out of luck.

2

u/Klutzy-Passage-2561 15d ago

Yeah — AppOps on A13 usually only exposes POST_NOTIFICATIONS as on/off, not lockscreen visibility. That lives in NotificationManagerService / channel lockscreenVisibility, which a lot of ROMs never surface.

Without an LSPosed/Magisk module that hooks notification ranking (or a custom ROM that shows the channel Lock screen toggle), there really is not a clean allowlist path short of hide-all. Worth a quick look for modules named around lockscreen notifications / notify visibility, but if nothing shows for your Android version, you have basically hit the wall.

1

u/unselective-amnesia 12d ago

That's what I've been suspecting. Thank you very much!

1

u/Klutzy-Passage-2561 12d ago

You’re welcome — yeah, without a ranking hook you’re stuck on hide-all or a custom ROM that exposes channel lock-screen toggles. Hope you find a module that fits.

1

u/Any_Note430 16d ago

You can manually let app notifications appear on the lock screen by going to their page in system settings, pressing notifications, and tapping the lock screen option.

1

u/unselective-amnesia 16d ago edited 16d ago

Thank you very much, but on my device, pressing "notifications" in apps' system settings does not offer any "lock screen" option. I'm guessing that this is probably a feature that's available in only certain Android versions or maybe only for certain specific apps.