5.0.3(15)的行为变更汇总
================

#### OS平台API行为的变更

| 
Kit

 | 

变更描述

 | 

变更引入版本

 | 

变更影响

 | 

影响设备类型

 | 

变更生效规则

 |
| :-- | :-- | :-- | :-- | :-- | :-- |
| 

Ability

 | 

[installSource字段规格变更](https://developer.huawei.com/consumer/cn/doc/harmonyos-releases/changelogs-for-all-apps-5031#section317)

 | 

5.0.3(15) Beta1

 | 

小

 | 

phone, tablet, 2in1

 | 

全部生效

 |
| 

AppGallery Kit

 | 

[kit.StoreKit.d.ts文件废弃，替换为kit.AppGalleryKit.d.ts文件](https://developer.huawei.com/consumer/cn/doc/harmonyos-releases/changelogs-for-all-apps-5031#section257)

 | 

5.0.3(15) Beta1

 | 

小

 | 

phone, tablet, 2in1

 | 

使用DevEco Studio 5.0.3 Release及以上版本时生效

 |
| 

ArkTS

 | 

[信号处理方法注册接口sigaction支持SA\_RESETHAND标志位变更](https://developer.huawei.com/consumer/cn/doc/harmonyos-releases/changelogs-for-all-apps-5031#section233)

 | 

5.0.3(15) Beta1

 | 

中

 | 

phone, tablet, 2in1

 | 

全部生效

 |
| 

ArkUI

 | 

[FrameNode被UINode包裹时isVisible接口返回值发生变更](https://developer.huawei.com/consumer/cn/doc/harmonyos-releases/changelogs-for-all-apps-5031#section322)

 | 

5.0.3(15) Beta1

 | 

小

 | 

phone, tablet, 2in1

 | 

targetSdkVersion ≥ 5.0.3(15)变更生效

 |
| 

[富文本组件RichEditor的onCopy回调中设置preventDefault()时的行为变更](https://developer.huawei.com/consumer/cn/doc/harmonyos-releases/changelogs-for-all-apps-5031#section326)

 | 

5.0.3(15) Beta1

 | 

小

 | 

phone, tablet, 2in1

 | 

全部生效

 |
| 

AVCodec Kit

 | 

[OH\_AVCodecOnStreamChanged在音频解码场景的默认行为变更](https://developer.huawei.com/consumer/cn/doc/harmonyos-releases/changelogs-for-all-apps-5031#section319)

 | 

5.0.3(15) Beta1

 | 

小

 | 

phone, tablet, 2in1

 | 

targetSdkVersion ≥ 5.0.3(15)变更生效

 |
| 

Localization Kit

 | 

[变更缅甸文，马来文和泰文的显示名称](https://developer.huawei.com/consumer/cn/doc/harmonyos-releases/changelogs-for-all-apps-5031#section301)

 | 

5.0.3(15) Beta1

 | 

小

 | 

phone, tablet, 2in1

 | 

全部生效

 |
| 

Media Kit

 | 

[系统录屏应用调用的截屏接口变更](https://developer.huawei.com/consumer/cn/doc/harmonyos-releases/changelogs-for-all-apps-5031#section309)

 | 

5.0.3(15) Beta1

 | 

小

 | 

phone, tablet, 2in1

 | 

targetSdkVersion ≥ 5.0.3(15)变更生效

 |
| 

应用配置文件

 | 

[supportWindowModes选项配置fullscreen和split时，窗口全屏启动](https://developer.huawei.com/consumer/cn/doc/harmonyos-releases/changelogs-for-all-apps-5031#section328)

 | 

5.0.3(15) Beta1

 | 

小

 | 

2in1

 | 

targetSdkVersion ≥ 5.0.3(15)变更生效

 |
| 

ArkUI

 | 

[Image、Text和ListItem组件onDragStart接口默认行为变更](https://developer.huawei.com/consumer/cn/doc/harmonyos-releases/changelogs-for-all-apps-5032#section363)

 | 

5.0.3(15) Beta2

 | 

小

 | 

phone, tablet, 2in1

 | 

targetSdkVersion ≥ 5.0.3(15)变更生效

 |
| 

[轴事件支持BEGIN、END及CANCEL类型回调触发](https://developer.huawei.com/consumer/cn/doc/harmonyos-releases/changelogs-for-all-apps-5032#section356)

 | 

5.0.3(15) Beta2

 | 

小

 | 

phone, tablet, 2in1

 | 

targetSdkVersion ≥ 5.0.3(15)变更生效

 |
| 

[TextController的SetStyledString接口支持保存设置的属性字符串信息到调用的TextController中](https://developer.huawei.com/consumer/cn/doc/harmonyos-releases/changelogs-for-all-apps-5032#section348)

 | 

5.0.3(15) Beta2

 | 

小

 | 

phone, tablet, 2in1

 | 

targetSdkVersion ≥ 5.0.3(15)变更生效

 |
| 

[2in1设备上，悬浮窗层级由低于dock栏调整为高于dock栏](https://developer.huawei.com/consumer/cn/doc/harmonyos-releases/changelogs-for-all-apps-5032#section362)

 | 

5.0.3(15) Beta2

 | 

小

 | 

2in1

 | 

全部生效

 |
| 

Call Service Kit

 | 

[通话应用在前台时不显示通话胶囊](https://developer.huawei.com/consumer/cn/doc/harmonyos-releases/changelogs-for-all-apps-5032#section359)

 | 

5.0.3(15) Beta2

 | 

小

 | 

phone, tablet

 | 

targetSdkVersion ≥ 5.0.3(15)变更生效

 |
| 

Performance Analysis Kit

 | 

[HiAppEvent模块onReceive、OH\_HiAppEvent\_OnReceive、takeNext接口支持应用分身故障日志订阅隔离](https://developer.huawei.com/consumer/cn/doc/harmonyos-releases/changelogs-for-all-apps-5032#section364)

 | 

5.0.3(15) Beta2

 | 

小

 | 

phone, tablet, 2in1

 | 

全部生效

 |
| 

ArkUI

 | 

[C API轴事件接口OH\_ArkUI\_UIInputEvent\_GetSourceType和OH\_ArkUI\_UIInputEvent\_GetToolType接口返回值变更](https://developer.huawei.com/consumer/cn/doc/harmonyos-releases/changelogs-for-all-apps-5033#section367)

 | 

5.0.3(15) Release

 | 

小

 | 

phone, tablet, 2in1

 | 

全部生效

 |

#### UX样式或效果的变更

<table><tbody><tr><td class="cellrowborder" valign="top" width="43.34%"><p>变更描述</p></td><td class="cellrowborder" valign="top" width="15.85%"><p>变更引入版本</p></td><td class="cellrowborder" valign="top" width="8.67%"><p>变更影响</p></td><td class="cellrowborder" valign="top" width="17.18%"><p>影响设备类型</p></td><td class="cellrowborder" valign="top" width="14.96%"><p>变更生效规则</p></td></tr><tr><td class="cellrowborder" valign="top" width="43.34%"><p><a href="https://developer.huawei.com/consumer/cn/doc/harmonyos-releases/changelogs-ux-5031#section324" target="_blank">半模态SheetMode.EMBEDDED模式支持响应ESC键退出</a></p></td><td class="cellrowborder" valign="top" width="15.85%"><p>5.0.3(15) Beta1</p></td><td class="cellrowborder" valign="top" width="8.67%"><p>小</p></td><td class="cellrowborder" valign="top" width="17.18%"><p>phone, tablet, 2in1</p></td><td class="cellrowborder" valign="top" width="14.96%"><p>全部生效</p></td></tr><tr><td class="cellrowborder" valign="top" width="43.34%"><p><a href="https://developer.huawei.com/consumer/cn/doc/harmonyos-releases/changelogs-ux-5032#section341" target="_blank">动态照片自动播放效果变更</a></p></td><td class="cellrowborder" valign="top" width="15.85%"><p>5.0.3(15) Beta2</p></td><td class="cellrowborder" valign="top" width="8.67%"><p>小</p></td><td class="cellrowborder" valign="top" width="17.18%"><p>phone, tablet</p></td><td class="cellrowborder" valign="top" width="14.96%"><p>全部生效</p></td></tr><tr><td class="cellrowborder" valign="top" width="43.34%"><p><a href="https://developer.huawei.com/consumer/cn/doc/harmonyos-releases/changelogs-ux-5032#section342" target="_blank">NavDestination标题栏工具栏支持跟手滑动隐藏后，超过2秒未操作，不恢复显示</a></p></td><td class="cellrowborder" valign="top" width="15.85%"><p>5.0.3(15) Beta2</p></td><td class="cellrowborder" valign="top" width="8.67%"><p>小</p></td><td class="cellrowborder" valign="top" width="17.18%"><p>phone, tablet, 2in1</p></td><td class="cellrowborder" valign="top" width="14.96%"><p>全部生效</p></td></tr><tr><td class="cellrowborder" valign="top" width="43.34%"><p><a href="https://developer.huawei.com/consumer/cn/doc/harmonyos-releases/changelogs-ux-5032#section918554861317" target="_blank">Tabs组件TabBar的显示和隐藏动效变更</a></p></td><td class="cellrowborder" valign="top" width="15.85%"><p>5.0.3(15) Beta2</p></td><td class="cellrowborder" valign="top" width="8.67%"><p>小</p></td><td class="cellrowborder" valign="top" width="17.18%"><p>phone, tablet, 2in1</p></td><td class="cellrowborder" valign="top" width="14.96%"><p>全部生效</p></td></tr></tbody></table>

#### 开发工具的变更

| 
工具分类

 | 

变更描述

 | 

变更引入版本

 | 

变更影响

 | 

影响设备类型

 | 

变更生效规则

 |
| :-- | :-- | :-- | :-- | :-- | :-- |
| 

命令行工具

 | 

[hilog日志在商用版本（nolog版本）开发者模式下默认日志级别由info变为warning](https://developer.huawei.com/consumer/cn/doc/harmonyos-releases/changelogs-for-all-apps-5031#section312)

 | 

5.0.3(15) Beta1

 | 

小

 | 

phone, tablet, 2in1

 | 

使用DevEco Studio 5.0.3 Release及以上版本时生效

 |