• General
  • Close notifications on lockscreen?

Is it possible to close notifications (by swiping to the side) without unlocking the phone?
I thought maybe I am missing some setting.

Use case:
When making payment by card or similar, I get push notifications about purchases. I already know what the notifications are about so it would be easy to just swipe and have them removed from lockscreen.
Not only purchases, but in all cases where we already know what the notifications are about and we could then swipe to close them instead of entering uneccessary password to have them cleared.

    • [deleted]

    JayJay change that particular notification channel to silent and it won't be shown on lockscreen. You will only be able to see it after unlock by pulling down notification shade. Hope it helps.

    I do want to have them popped but I want the swipe to close to also close and remove the notification so that when I unlock the phone, its gone from there too.

    Second scenario:
    I receive an email through imap, I read this email using my desktop. The notification is still there on lockscreen. However when I unlock it, they do get refreshed and removed.

    Third scenario
    I am using WhatsApp or Telegram on mobile and desktop. I receive a msg which i read to and reply through desktop. The notification are still left on mobile lockscreen even though its been read.

    Shouldn't default behavior here be that those notifications are removed from lockscreen since they are not valid anymore as they have been read?

    All above cases leads to having a lockscreen full off notification which we are unable to remove unless unlocked. Is there any specific use case for having non swipeable notices on lockscreen which have slipped my mind?

    Is there also any specific use case for having obselete notifications on lockscreen when they have already been marked/flagged as read? Because unlocking the phone doesn't have this behavior. Notifications when phone is unlocked are being synced.

      • [deleted]

      • Edited

      JayJay
      Go to settings/ notifications and set your preferred way of showing or not showing notifications on your lock screen.

      Also individual apps have in their settings the notification section, there you can fine-tune your preference.

        [deleted]

        I am sorry but I do not see how that adressess the issue here as this is not default AOSP behaviour. Your work-around is to disable showing of such notifications. That comes as a further inconvenience because then you are not being alerted at all, only once you unlock the phone.

        Notifications should be possible to be closed on lockscreen, as well as they should be synced and removed automatically if they have been read using another device. I do not want to hide them permanent, I want to be alerted but close them without having to unlock the phone as I can take action to the notifications using another device. So that's one part of the topic/issue here.

        The second is that the notifications removals are not synced on lockscreen as they are when device is unlocked. In unlocked status everything works great. In locked status the notifications are just there, waiting for you to make an unnecessary unlocking of the phone (decreases security meanwhile) just to close them, and then relock the phone again.

        I also mentioned multiple scenarios where this comes as an inconvenience for notifications which has already been adressed using another device, because once a notification shows on lockscreen it is permanently there until you unlock the phone. They are not being automatically removed, which they are being once phone is unlocked.

          • [deleted]

          • Edited

          JayJay I am sorry but I do not see how that adressess the issue here as this is not default AOSP behaviour.

          These are relevant settings that affect your notification display. I was referring mostly to this:

          JayJay All above cases leads to having a lockscreen full off notification which we are unable to remove unless unlocked

          I can only speak from my experience, but I'm trying to minimize notifications as possible. For me personally it is preferable that notifications and quick settings tiles can't be changed from lock screen. Nevertheless, that doesn't answer your search for managing notifications from lock screen. If you consider notifications behavior on lock screen to be a bug, kindly report it here:
          https://github.com/GrapheneOS/os-issue-tracker/issues

            JayJay [deleted]

            I was curious about this so I tried to figure it out. I'll skip all the boring stuff to just say it looks like since the phone is locked and notification are marked "sensitive", they cannot be cleared.

            The comment above this method explains why this happens:

            /**
             * @return Can the underlying notification be cleared? This can be different from whether the
             *         notification can be dismissed in case notifications are sensitive on the lockscreen.
             */

            To test, you can dismiss notifications if you show notification content on the lockscreen here: Settings > Privacy > Notifications on lock screen.

            btw, all this appears to be AOSP stuff, not GrapheneOS stuff. I did most of the code searching on https://cs.android.com. After finding related stuff there, I checked GrapheneOS's Github and nothing was modified from AOSP. Also, protecting notifications isn't listed as a GrapheneOS feature.