Now on 3.0.0 it has more features:
On 2.0.2+, since there's an option to hide notifications when device is locked, you can use this patch just to hide the text preview while having the notifications enabled.
On 2.0.0 and 2.0.1, v0.1 fixes a security bug by hiding message preview of notifications when device is locked. When device is locked it will show "…" instead of notification body text; it will show the notification but only with the sender name.
2.0.0+
It won't disable app notifications nor display wakeups. It also shows sender's name, just replaces body text with "…" on device lock for privacy concerns.
Requires patchmanager
Upon a bug report on TJC
Donations are welcome ;)
Attachment | Size | Date |
---|---|---|
sailfishos-patch-security-options-3.0.0-2.noarch.rpm | 9.08 KB | 07/11/2018 - 01:27 |
sailfishos-patch-no-notification-preview-0.5-1_2.1.2.noarch.rpm | 7.74 KB | 26/10/2017 - 16:19 |
sailfishos-patch-no-notification-preview-0.4-1_2.0.4.noarch.rpm | 3.74 KB | 19/10/2016 - 23:45 |
sailfishos-patch-no-notification-preview-0.3-1_2.0.2.noarch.rpm | 3.69 KB | 06/07/2016 - 15:23 |
sailfishos-patch-no-notification-preview-0.1-1.noarch.rpm | 7.5 KB | 02/01/2016 - 18:50 |
3.0.0
0.5 - Updated for SFOS 2.1.2
0.4 - Updated for SFOS 2.0.4
0.3 - Updated for SFOS 2.0.2
0.1 - Initial release
Comments
olf
Sun, 2017/10/29 - 17:27
Permalink
The Patch "No notification preview" conflicts (when applying in Patchmanager) with "Devicelock faith text" (and vice versa).
I wonder, if this is really technically necessary, even though they are both patching the lockscreen, they are changing different aspects of it (the notification preview vs. an additional text).
I would love to see them playing together nicely.
Tested on a Jolla 1 phone under SFOS 2.1.0.11 with the recent versions of "No notification preview", "Devicelock faith text" and Patchmanager2.
*Edit:*
Oops, I just realised that "Devicelock faith text" offers to disable the notification preview completely. So there is clearly an overlap in functionality, and hence a conflict when applying these Patches in Patchmanager is logical.
Sorry for my oversight and resulting confusion.
Ancelad
Sat, 2017/10/28 - 07:32
Permalink
I can merge this if Alina will provide his agreement
alina
Sat, 2017/10/28 - 11:11
Permalink
Of course I agree. It will be great.
Do you need me to share anything or can you extract it from the rpm?
Ancelad
Sat, 2017/10/28 - 12:54
Permalink
I've resolved this conflict without merging ;)
olf
Sun, 2017/10/29 - 17:29
Permalink
@Ancelad: Thanks a lot.
@Alina: [Patch "conflict hell"] Now I realised, that "No notification preview" also conflicts with "Improved notification preview" by Ingvx.
Basically a similar story. Although they both patch the notification preview, they patch slightly different aspects of it: "No notification preview" allows to suppress the second line of notifications (or suppressing notifications completely) on the lockscreen, while "Improved notification preview" alters the shape of notification previews. Even without looking at the code, I do understand that resolving this is trickier, but also wonder if it is absolutely necessary. (I should really start learning QML and dissect Patches in order to provide more comprehensive comments ... someday.)
alina
Sun, 2017/10/29 - 17:44
Permalink
Yes, I'm using improved notification patch either and unfortunately the conflict isn't resolvable. That patch removes a lot of lines and writes them from scratch. So you'd better to rely on the default option to disable notifications when device is locked.
olf
Sun, 2017/10/29 - 20:11
Permalink
Thanks for the prompt answer and clarification. (So I will follow the choice you made, too.)
Skillmon
Thu, 2016/10/20 - 01:44
Permalink
For me the patch can't be activated in SFOS 2.0.4.14. If this is only true for me there is no need to fix it.
alina
Sat, 2016/10/22 - 04:32
Permalink
You may use another patch for device lock like "Devicelock faith text".
OrpsJolla16
Fri, 2016/07/08 - 18:03
Permalink
Wow, I'm very happy to see this patch, it should be not needed and already fixed by jolla, but at the least there is a patch. Thank you for that, but please hide the entire popup and not only part of it(using the sms example, hide the recipient too). Great work anyway
alina
Sat, 2016/07/09 - 07:35
Permalink
In the new update (edit: I mean 2.0.2) the bug is fixed; but I don't like it, because I want to see in a glance who the sender is without unlocking the phone, so added an additional option.