提交 9ea2eb36 编写于 作者: H hu0475

删除无用注释代码

Signed-off-by: Nhu0475 <huyanqiang5@huawei.com>
上级 69c9f680
......@@ -17,11 +17,11 @@ group("ability_crossplatform_runtime") {
testonly = true
if (is_standard_system) {
deps = [
"actscontexttest:ActsCrossplatformAbilityContextTest",
"actscontexttestentry:ActsCrossplatformAbilityContextEntryTest"
"ActsLifeCycleEtsFeatureTest:ActsLifeCycleEtsFeatureTest",
"ActsLifeCycleEtsTest:ActsLifeCycleEtsTest",
"ActsUiAbilityEtsTest:ActsUiAbilityEtsTest",
"actscontexttest:ActsCrossplatformAbilityContextTest",
"actscontexttestentry:ActsCrossplatformAbilityContextEntryTest",
"commonTestAbilityApp:commonTestAbilityApp",
]
}
......
......@@ -90,7 +90,6 @@ export default class MainAbility extends Ability {
}
}
globalThis.applicationContext1 = this.context.getApplicationContext();
// let lifecycleid = globalThis.applicationContext1.registerAbilityLifecycleCallback(AbilityLifecycleCallback);
let lifecycleid = globalThis.applicationContext1.on('abilityLifecycle', AbilityLifecycleCallback);
console.log("[Demo] registerAbilityLifecycleCallback1 number: " + JSON.stringify(lifecycleid));
setTimeout(function () {
......@@ -108,7 +107,6 @@ export default class MainAbility extends Ability {
// Main window is created, set main page for this ability
console.log("[Demo] MainAbility onWindowStageCreate")
globalThis.featureAbilityContext = this.context;
// windowStage.setUIContent(this.context, "testability/pages/index1", null)
windowStage.loadContent('pages/Index', (err, data) => {
if (err.code) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册