!175 BUG修复:通知中心-打开批量管理页面,锁屏再打开后,页面退回通知中心页面

Merge pull request !175 from zoujunjie/common_master
This commit is contained in:
openharmony_ci 2024-08-21 09:31:56 +00:00 committed by Gitee
commit 5fd6f62706
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -170,12 +170,7 @@ export class ScreenLockService {
lockScreen() { lockScreen() {
Trace.start(Trace.CORE_METHOD_SHOW_LOCK_SCREEN); Trace.start(Trace.CORE_METHOD_SHOW_LOCK_SCREEN);
Log.showDebug(TAG, `lockScreen`); Log.showDebug(TAG, `lockScreen`);
let length = parseInt(Router.getLength())
Log.showDebug(TAG, `Router.getLength: ${length}`)
for (let index = 1; index < length; index++) {
Log.showInfo(TAG, `back to index`);
Router.back();
}
//lock the screen //lock the screen
this.screenLockModel.showScreenLockWindow(() => { this.screenLockModel.showScreenLockWindow(() => {
Log.showInfo(TAG, `showScreenLockWindow finish`); Log.showInfo(TAG, `showScreenLockWindow finish`);