You need to sign in or sign up before continuing.
提交 3bd09ab1 编写于 作者: G gongyuechen

Description:example fix

Sig:SIG_ApplicationFramework
Feature or Bugfix:Bugfix
Binary Source:No
Signed-off-by: Ngongyuechen <gongyuechen@huawei.com>
上级 9683fe88
...@@ -35,6 +35,12 @@ import Configuration from '@ohos.app.ability.Configuration' ...@@ -35,6 +35,12 @@ import Configuration from '@ohos.app.ability.Configuration'
let envCallback = { let envCallback = {
onConfigurationUpdated(config) { onConfigurationUpdated(config) {
console.info(`envCallback onConfigurationUpdated success: ${JSON.stringify(config)}`) console.info(`envCallback onConfigurationUpdated success: ${JSON.stringify(config)}`)
let language = config.language;
let colorMode = config.colorMode;
let direction = config.direction;
let screenDensity = config.screenDensity;
let displayId = config.displayId;
let hasPointerDevice = config.hasPointerDevice;
} }
}; };
try { try {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册