Ah and unity8 doesn't necessarily have to do anything with this, it's the original backends (or ideally the "post office") that should handle this.
I'd imagine, when creating ta notification, the backend would provide both a "rich" and a "privacy-concerned" set of data, the post office would then decide which to actually display based on privacy settings, lock status etc. ** Also affects: account-polld (Ubuntu) Importance: Undecided Status: New ** Also affects: ubuntu-push Importance: Undecided Status: New ** Changed in: unity8 (Ubuntu) Status: New => Opinion -- You received this bug notification because you are a member of DX Packages, which is subscribed to indicator-messages in Ubuntu. Matching subscriptions: dx-packages https://bugs.launchpad.net/bugs/1365875 Title: mail notification displayed even when phone locked Status in Ubuntu Push Notifications: New Status in “account-polld” package in Ubuntu: New Status in “indicator-messages” package in Ubuntu: New Status in “unity8” package in Ubuntu: Opinion Bug description: I had just woken up the phone (screen was displaying the welcome greeter) but had not yet unlocked the device (I have set a pin code) when a mail notification appeared on screen that divulged the sender. This is a privacy issue. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-push/+bug/1365875/+subscriptions -- Mailing list: https://launchpad.net/~dx-packages Post to : dx-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~dx-packages More help : https://help.launchpad.net/ListHelp