mirror of https://github.com/zlatinb/muwire
parent
76e580a288
commit
e6d728ce66
|
@ -40,13 +40,15 @@ class DBUSNotifyService {
|
||||||
Variant<String> variant = new Variant(soundName)
|
Variant<String> variant = new Variant(soundName)
|
||||||
hints.put("sound-name", variant)
|
hints.put("sound-name", variant)
|
||||||
}
|
}
|
||||||
UInt32 rv = NOTIFICATIONS.Notify("MuWire", // app name
|
try {
|
||||||
new UInt32(0L), // replaces
|
NOTIFICATIONS.Notify("MuWire", // app name
|
||||||
"", // no icon
|
new UInt32(0L), // replaces
|
||||||
summary, // summary
|
"", // no icon
|
||||||
body, // body
|
summary, // summary
|
||||||
Collections.emptyList(), // actions
|
body, // body
|
||||||
hints, // hints
|
Collections.emptyList(), // actions
|
||||||
-1) // expire timeout
|
hints, // hints
|
||||||
|
-1) // expire timeout
|
||||||
|
} catch (NoReply ignore) {}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue