mirror of
https://gitee.com/openharmony/applications_screenlock
synced 2025-02-19 22:13:19 +00:00
zjj0821
Signed-off-by: 18671941053 <zoujunjie6@huawei.com>
This commit is contained in:
parent
0230cb2899
commit
e207c34555
@ -170,12 +170,7 @@ export class ScreenLockService {
|
||||
lockScreen() {
|
||||
Trace.start(Trace.CORE_METHOD_SHOW_LOCK_SCREEN);
|
||||
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
|
||||
this.screenLockModel.showScreenLockWindow(() => {
|
||||
Log.showInfo(TAG, `showScreenLockWindow finish`);
|
||||
|
Loading…
x
Reference in New Issue
Block a user