Fix KSNIs being unable to register service under flatpak
ClosedPublic

Authored by davidedmundson on May 25 2017, 12:27 PM.

Details

Summary

Rather than registering a custom service and then passing that to the
watcher's RegisterItem we can just pass the base service as a name.

As we're not registering random names it works on Flatpak.
Replaces D5911

Test Plan

Ran the existing test with --ksni-count 5
Still had all my items appear

Diff Detail

Repository
R289 KNotifications
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
Restricted Application added a project: Frameworks. · View Herald TranscriptMay 25 2017, 12:27 PM

+1

I tested this change with flatpak and it works as it should.

jgrulich accepted this revision.May 26 2017, 10:26 AM
This revision is now accepted and ready to land.May 26 2017, 10:26 AM
This revision was automatically updated to reflect the committed changes.