libnotificationmanager: pass string view to QXmlStreamWriter
Reason for the change
Since Qt 6.5 QXmlStreamWriter
takes QAnyStringView
, so it's no longer
needed to convert QStringView
to QString
.
Test plan
- Extend notificationstest: add a notification body test
- Pass notifications_test which covers the sanitization part.
Screenshots or screen recordings
Bugs fixed
Edited by Fushan Wen