通知模型补全(agent-107: SDK icon+update_progress / IPC urgency+MSG_NOTIFY_PROGRESS / 存储 urgency+icon回退+progress / CSV加3列) + 全屏收合视觉+滑条(agent-108)

This commit is contained in:
MeowOS Dev committed 2026-08-30 13:02:17 +08:00
1 parent b3e57d4b55
commit e8fa373a2f
18 files changed
+410 -56

No files matched your search

+2 -1
View File
@@ -94,13 +94,14 @@ static void notif_send(int which)
n.body = "常驻不自动过期(timeout=-1),需手动取消";
n.timeout_ms = MEOW_NOTIFY_TIMEOUT_ONGOING;
break;
case 5: /* 带 target_activity(SDK 结构暂无 icon 字段,故只填跳转目标) */
case 5: /* 带 target_activity + icon(SDK 结构含 icon 字段;NULL/空=用 app 默认图标) */
label = "TGT";
n.cat = MEOW_NOTIFY_CAT_MESSAGE;
n.title = "测试-跳转Activity";
n.body = "点击跳转 target_activity=main";
n.timeout_ms = 6000;
n.target_activity = "main";
n.icon = NULL; /* 空 → launcher 用 app 默认图标(app.json icon) */
break;
default:
return;