Skip to content

Allow to dismiss resident persistent notifications

Kai Uwe Broulik requested to merge work/kbroulik/dismiss-resident into master

Original commit message(s)

  • Allow to dismiss resident persistent notifications

They can be used by an app to provide controls over a task, such as a running timer, stopwatch, or ongoing call.

Since a persistent notification never times out, allow the user to explicitly minimize/unminimize it like can be done with a proper job.

Reason for the change

See commit

Test plan

Made KClock do that, could dismiss and restore the notification.

Could still properly dismiss and restore jobs.

Screenshots or screen recordings

Screenshot_20250330_130543

Screenshot_20250330_140340

-->

Merge request reports

Loading