优化launcher被kill时,会导致普通前台应用退至后台的问题

Signed-off-by: 赵鹏 <2645604041@qq.com>
This commit is contained in:
赵鹏 2023-12-28 16:36:20 +08:00
parent c20221986a
commit 15b4e3d0c9

View File

@ -316,7 +316,6 @@ class WindowManager {
windowManager.recentMode = mode;
win.setWindowMode(mode).then();
} : (win) => {
windowManager.minimizeAllApps();
windowManager.recentMode = AbilityConstant.WindowMode.WINDOW_MODE_FULLSCREEN;
win.setFullScreen(true).then(() => {
Log.showDebug(TAG, `${this.RECENT_WINDOW_NAME} setFullScreen`);