!209 切换用户,锁屏界面黑屏

Merge pull request !209 from zhangao/test_1022
This commit is contained in:
openharmony_ci 2024-10-23 08:34:11 +00:00 committed by Gitee
commit 9b256929b0
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -147,11 +147,11 @@ export class ScreenLockService {
this.accountModel.eventListener(ACTIVATING_TYPE, ACTIVATING_EVENT, () => { this.accountModel.eventListener(ACTIVATING_TYPE, ACTIVATING_EVENT, () => {
Log.showInfo(TAG, `ACTIVATING_TYPE event`); Log.showInfo(TAG, `ACTIVATING_TYPE event`);
this.lockScreen();
}) })
this.accountModel.eventListener(ACTIVATE_TYPE, ACTIVATE_EVENT, () => { this.accountModel.eventListener(ACTIVATE_TYPE, ACTIVATE_EVENT, () => {
Log.showInfo(TAG, `ACTIVATE_TYPE event`); Log.showInfo(TAG, `ACTIVATE_TYPE event`);
this.lockScreen();
this.accountModel.updateAllUsers() this.accountModel.updateAllUsers()
this.checkPinAuthProperty(() => { this.checkPinAuthProperty(() => {
Log.showInfo(TAG, `checkPinAuthProperty back`) Log.showInfo(TAG, `checkPinAuthProperty back`)