From eacdf6dd3d6b3ee6f01cbc48606d7d7a86296b47 Mon Sep 17 00:00:00 2001 From: zhouke Date: Thu, 23 Mar 2023 14:43:55 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B5=8B=E8=AF=95=E7=94=A8=E4=BE=8B=E6=89=A7?= =?UTF-8?q?=E8=A1=8C=E9=A1=BA=E5=BA=8F=E8=B0=83=E6=95=B4.hap=E5=8C=85?= =?UTF-8?q?=E5=88=87=E6=88=90arkui=E6=96=B0=E6=A1=86=E6=9E=B6stage?= =?UTF-8?q?=E6=A8=A1=E5=9E=8B=20.Signed-off-by:=20.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: zhouke --- .../entry/src/main/ets/MainAbility/MainAbility.ts | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/arkXtest/uitestScene/entry/src/main/ets/MainAbility/MainAbility.ts b/arkXtest/uitestScene/entry/src/main/ets/MainAbility/MainAbility.ts index a8706dc43..3877b9043 100644 --- a/arkXtest/uitestScene/entry/src/main/ets/MainAbility/MainAbility.ts +++ b/arkXtest/uitestScene/entry/src/main/ets/MainAbility/MainAbility.ts @@ -16,34 +16,34 @@ import Ability from '@ohos.app.ability.UIAbility' export default class MainAbility extends Ability { onCreate(want, launchParam) { - console.log("[Demo] Hap2MainAbility1 onCreate") + console.log("[Demo] UitestScene onCreate") globalThis.abilityWant = want; } onDestroy() { - console.log("[Demo] Hap2MainAbility1 onDestroy") + console.log("[Demo] UitestScene onDestroy") } onWindowStageCreate(windowStage) { // Main window is created, set main page for this ability - console.log("[Demo] Hap2MainAbility1 onWindowStageCreate") + console.log("[Demo] UitestScene onWindowStageCreate") windowStage.setUIContent(this.context, "MainAbility/pages/index", null) } onWindowStageDestroy() { // Main window is destroyed, release UI related resources - console.log("[Demo] Hap2MainAbility1 onWindowStageDestroy") + console.log("[Demo] UitestScene onWindowStageDestroy") } onForeground() { // Ability has brought to foreground - console.log("[Demo] Hap2MainAbility1 onForeground") + console.log("[Demo] UitestScene onForeground") } onBackground() { // Ability has back to background - console.log("[Demo] Hap2MainAbility1 onBackground") + console.log("[Demo] UitestScene onBackground") } }; -- GitLab