Implement lock-screen visibility control on Android
ClosedPublic

Authored by vkrause on Sat, May 2, 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.Sat, May 2, 10:38 AM
Restricted Application added a project: Frameworks. · View Herald TranscriptSat, May 2, 10:38 AM
Restricted Application added a subscriber: kde-frameworks-devel. · View Herald Transcript
vkrause requested review of this revision.Sat, May 2, 10:38 AM
nicolasfella accepted this revision.Wed, May 20, 1:31 PM
This revision is now accepted and ready to land.Wed, May 20, 1:31 PM
nicolasfella requested changes to this revision.Wed, May 20, 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.Wed, May 20, 7:10 PM
vkrause updated this revision to Diff 83104.Fri, May 22, 6:26 AM

Rename visibility hint.

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