代码拉取完成,页面将自动刷新
【模块名_概率】简要描述:
window.on('systemBarTintChange') 回调 data对象data.regionTint.type与文档不一致
【环境信息】:
RK开发版 20220606主干版本
【预置条件】:
NA
【测试步骤】:
window.on('systemBarTintChange', (data) => {
console.info('tianshi Succeeded in enabling the listener for systemBarTint changes. Data: ' + JSON.stringify(data));
for (const regionData of data.regionTint) {
console.info("tianshi" + regionData.type + ":" + regionData.region.height)
}
console.info("tianshi" + window.WindowType.TYPE_STATUS_BAR)
});
【预期结果】:
regionData.type 值为TYPE_STATUS_BAR或TYPE_PANEL
【实际结果】:
tianshi Succeeded in enabling the listener for systemBarTint changes.
Data: {"displayId":0,"regionTint":[{"type":2116,"isEnable":true,"backgroundColor":"#66000000","contentColor":"#E5F
FFFFF","region":{"left":-1442937728,"top":127,"width":2927924824,"height":127}}]}
08-05 21:57:43.079 3156 3156 I 02200/JsApp: tianshi2116:127
08-05 21:57:43.079 3156 3156 I 02200/JsApp: tianshi3
"type":2116 与预期不符
【恢复手段】:
NA
【出现概率】:
必现
【定位信息】:
登录 后才可以发表评论