3 Commits

Author SHA1 Message Date
daiyunlong c989392830 fix: align first_introduced version with API since tag
OH_DeviceManager_GetLocalDeviceNameC is declared with @since 26.0.0 in the header, so the first_introduced field in libdevicemanager.ndk.json should be '26.0.0' instead of '26' to match the canonical version string.

Co-Authored-By: Agent
Signed-off-by: daiyunlong <daiyunlong4@huawei.com>

🤖 AI[100%] 🔧 Human Fixed[0%] 🧑 Human[0%] 👌 AI Adopted[100%]
Co-authored-by: claude (glm-5.2) <ai@local>
2026-07-27 14:09:18 +08:00
daiyunlong 50aa51b43a feat: add C ABI for GetLocalDeviceName
Sync the public NDK header with device_manager: add OH_DeviceManager_GetLocalDeviceNameC(char **, unsigned int *) using pointer output parameters. Mark the legacy OH_DeviceManager_GetLocalDeviceName (unsigned int &) as deprecated and point users to the new C ABI. Add the new symbol to libdevicemanager.ndk.json with first_introduced 26.

Co-Authored-By: Agent
Signed-off-by: daiyunlong <daiyunlong4@huawei.com>
2026-07-24 23:32:11 +08:00
guoyi e628d41b74 新增dm_ndk
Signed-off-by: guoyi <guoyi39@huawei.com>
2025-06-30 20:19:56 +08:00