yuana1's recent timeline updates
yuana1

yuana1

V2EX member #474129, joined on 2020-03-04 19:24:47 +08:00
yuana1's recent replies
看源代码
src/org/kde/kdeconnect/Plugins/NotificationsPlugin/NotificationsPlugin.java
中显示

if ((notification.flags & Notification.FLAG_FOREGROUND_SERVICE) != 0
|| (notification.flags & Notification.FLAG_ONGOING_EVENT) != 0
|| (notification.flags & Notification.FLAG_LOCAL_ONLY) != 0
|| (notification.flags & NotificationCompat.FLAG_GROUP_SUMMARY) != 0 //The notification that groups other notifications
)
{
//This is not a notification we want!
return;
}

第三行 显示 FLAG_LOCAL_ONLY 通知后直接舍弃了。 注释此行 重新打包就行了
About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3246 Online   Highest 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 17ms · UTC 11:54 · PVG 19:54 · LAX 04:54 · JFK 07:54
♥ Do have faith in what you're doing.