diff --git a/features/screenlock/src/main/ets/com/ohos/model/screenLockService.ts b/features/screenlock/src/main/ets/com/ohos/model/screenLockService.ts index fc7b20b..7c1d5f6 100644 --- a/features/screenlock/src/main/ets/com/ohos/model/screenLockService.ts +++ b/features/screenlock/src/main/ets/com/ohos/model/screenLockService.ts @@ -147,11 +147,11 @@ export class ScreenLockService { this.accountModel.eventListener(ACTIVATING_TYPE, ACTIVATING_EVENT, () => { Log.showInfo(TAG, `ACTIVATING_TYPE event`); - this.lockScreen(); }) this.accountModel.eventListener(ACTIVATE_TYPE, ACTIVATE_EVENT, () => { Log.showInfo(TAG, `ACTIVATE_TYPE event`); + this.lockScreen(); this.accountModel.updateAllUsers() this.checkPinAuthProperty(() => { Log.showInfo(TAG, `checkPinAuthProperty back`)