1# ArkData Changelog 2 3## cl.arkdata.1 Change of setAppShareOptions, removeAppShareOptions, and DRAG in UDMF @ohos.data.unifiedDataChannel.d.ts to Public APIs 4 5**Access Level** 6 7System API -> Public API 8 9**Reason for the Change** 10 11The APIs for setting or removing the drag scope of the application data should be open to third-party applications. 12 13**Change Impact** 14 15This change is a non-compatible change. 16 17Before the change:<br>**SetAppShareOptions()**, **RemoveAppShareOptions()**, and **DRAG** are system APIs and can be called only by system applications. The ohos.permission.MANAGE_UDMF_APP_SHARE_OPTION is not verified when an application sets or deletes the drag scope of the application data. 18 19After the change:<br>**SetAppShareOptions()**, **RemoveAppShareOptions()**, and **DRAG** are public APIs, which can be called by normal applications with the ohos.permission.MANAGE_UDMF_APP_SHARE_OPTION permission. If the application does not have this permission, access to these APIs will be rejected. 20 21**Start API Level** 22 2312 24 25**Change Since** 26 27OpenHarmony SDK 5.0.2.58 28 29**Key API/Component Changes** 30 311. function setAppShareOptions(intention: Intention, shareOptions: ShareOptions): void; 32 332. function removeAppShareOptions(intention: Intention): void; 34 353. DRAG = 'Drag' 36 37**Adaptation Guide** 38 39The application must have the ohos.permission.MANAGE_UDMF_APP_SHARE_OPTION permission. For details, see [Requesting Restricted Permissions](../../../application-dev/security/AccessToken/declare-permissions-in-acl.md). 40 41