From 9364a0328a481ce19e4835db6fd00778fa32409f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=B1=E6=96=B0=E5=87=A4?= <15324861827@163.com> Date: Wed, 17 Jan 2024 08:47:33 +0000 Subject: [PATCH] =?UTF-8?q?update=20HmosWorld/products/phone/src/main/ets/?= =?UTF-8?q?entryability/EntryAbility.ets.=20=E5=88=A0=E9=99=A4=E6=97=A0?= =?UTF-8?q?=E7=94=A8=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../phone/src/main/ets/entryability/EntryAbility.ets | 5 ----- 1 file changed, 5 deletions(-) diff --git a/HmosWorld/products/phone/src/main/ets/entryability/EntryAbility.ets b/HmosWorld/products/phone/src/main/ets/entryability/EntryAbility.ets index 2a497546..4e7ebac7 100644 --- a/HmosWorld/products/phone/src/main/ets/entryability/EntryAbility.ets +++ b/HmosWorld/products/phone/src/main/ets/entryability/EntryAbility.ets @@ -27,8 +27,6 @@ import { GlobalContext } from '@ohos/datastore'; const TAG = '[EntryAbility]'; -let currentWindowStage: window.WindowStage | null = null; - export default class EntryAbility extends UIAbility { onCreate(want: Want) { Logger.info(TAG, 'Ability onCreate'); @@ -71,9 +69,6 @@ export default class EntryAbility extends UIAbility { onNewWant(want: Want) { Logger.info(TAG, 'onNewWant want:' + JSON.stringify(want)); this.handleParams(want); - if (currentWindowStage != null) { - this.onWindowStageCreate(currentWindowStage); - } } onWindowStageDestroy() { -- Gitee