Implement lock-screen visibility control on Android
ClosedPublic

Authored by vkrause on May 2 2020, 10:38 AM.

Details

Summary

This is only the backend part, lacking a proper frontend API this is
using a custom hint for now. Android knows three levels for this:

  • public: visible completely on the lock screen
  • private: lock screen only shows that $app has notifications
  • secret: nothing shown on the lock screen at all

Diff Detail

Repository
R289 KNotifications
Branch
pending
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 27051
Build 27069: arc lint + arc unit
vkrause created this revision.May 2 2020, 10:38 AM
Restricted Application added a project: Frameworks. · View Herald TranscriptMay 2 2020, 10:38 AM
Restricted Application added a subscriber: kde-frameworks-devel. · View Herald Transcript
vkrause requested review of this revision.May 2 2020, 10:38 AM
nicolasfella accepted this revision.May 20 2020, 1:31 PM
This revision is now accepted and ready to land.May 20 2020, 1:31 PM
nicolasfella requested changes to this revision.May 20 2020, 7:10 PM
nicolasfella added inline comments.
src/notifybyandroid.cpp
110

The hint name should be something like x-kde-visibility

This revision now requires changes to proceed.May 20 2020, 7:10 PM
vkrause updated this revision to Diff 83104.May 22 2020, 6:26 AM

Rename visibility hint.

nicolasfella accepted this revision.May 22 2020, 10:06 AM
This revision is now accepted and ready to land.May 22 2020, 10:06 AM
vkrause closed this revision.May 23 2020, 7:26 AM