| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
add notification subscribe extension Signed-off-by: zzl12383 <zhengzhuolan@huawei-partners.com> | 9 个月前 | |
feat(rom-size): ROM size optimization phase 1 - build config and symbol visibility Phase 1 of ROM size optimization (target: 30% reduction, baseline 7963KB). All changes are limited to BUILD.gn/.gni/.map files, no .cpp/.h modifications. Key changes: - Add notification_size_opt_cflags/ldflags public variables in notification.gni - Add -fno-rtti/-flto/-Bsymbolic/-fno-exceptions config to all production targets - Extract ANI sts_*.cpp (21 files) to ohos_shared_library notification_ani_common - Extract NAPI common*.cpp (12 files) to ohos_shared_library notification_napi_common - Tighten libans_innerkits.map from global:* to class-name-based export - Add version_script to 6 NAPI .so (export only napi_module) - Add version_script to 4 ANI .so (export only ANI_Constructor) - Feature-gate priority_notification/clone/geofence source files - Add distributed_notification_service_feature_clone flag Expected benefit: 500-1100KB reduction. Co-Authored-By: Agent Signed-off-by: CheerfulRicky <yuegang7@h-partners.com> Change-Id: I029559a06708665662b1d2f9b7f66dcae53ee96f Signed-off-by: CheerfulRicky <yuegang7@h-partners.com> | 28 天前 | |
add appIndex and appName Signed-off-by: cheerful_ricky <yuegang7@huawei.com> | 8 个月前 | |
fix: add null pointer checks to prevent crashes in notification service Add comprehensive null pointer validation across frameworks and services layers (notification_request, subscriber_image_util, napi converters, geofence service, live view service, preferences, subscriber manager, etc.) to prevent null-dereference crashes, and add unit tests covering the new null-check branches. Co-Authored-By: Agent Signed-off-by: stepend98 <yangjun273@huawei.com> Change-Id: I62f9e3a450dbdbbcf7b0657c7187c6f7709b01df | 10 天前 | |
add notification subscribe extension Signed-off-by: zzl12383 <zhengzhuolan@huawei-partners.com> | 9 个月前 | |
fix(napi/ani): fix hidden symbol exports in version scripts Critical fix: libnotification_subscriber_extension_ani.map exported ANI_Constructor (non-existent) instead of OHOS_STS_NotificationSubscriberExtension_Creation which is the dlsym symbol expected by NotificationSubscriberExtensionModuleLoader. Added the missing extern "C" factory function in sts_notification_subscriber_extension.cpp. Other fixes: - Remove dead napi_module exports from NAPI module maps (the actual variable is _module; registration works via __attribute__((constructor))) - Add vtable/typeinfo/VTT export patterns to module .so maps for CFI cross-dso virtual call safety on IPC callback classes - Clean up redundant patterns in common library maps (*Common*, *NotificationManagerSts*, *NotificationSubScribeSts*, *ReminderAgentNapi*) - Remove orphaned libnotification_subscriber_extension.map (not referenced in BUILD.gn) Co-Authored-By: Agent Signed-off-by: CheerfulRicky <yuegang7@h-partners.com> Change-Id: I6ba01c5568862e5827d56efe5cbacfd593069c50 | 19 天前 |