mirror of
https://github.com/openharmony/windowmanager.git
synced 2026-07-20 20:20:13 -04:00
@@ -58,10 +58,11 @@ private:
|
||||
{ WindowType::WINDOW_TYPE_VOLUME_OVERLAY, 112 },
|
||||
{ WindowType::WINDOW_TYPE_NAVIGATION_BAR, 113 },
|
||||
{ WindowType::WINDOW_TYPE_KEYGUARD, 114 },
|
||||
{ WindowType::WINDOW_TYPE_DRAGGING_EFFECT, 115 },
|
||||
{ WindowType::WINDOW_TYPE_POINTER, 116 },
|
||||
{ WindowType::WINDOW_TYPE_BOOT_ANIMATION, 117 },
|
||||
{ WindowType::WINDOW_TYPE_FREEZE_DISPLAY, 118 },
|
||||
// reserve 115 for app window above keyguard, 116 for input method window above keyguard
|
||||
{ WindowType::WINDOW_TYPE_DRAGGING_EFFECT, 117 },
|
||||
{ WindowType::WINDOW_TYPE_POINTER, 118 },
|
||||
{ WindowType::WINDOW_TYPE_BOOT_ANIMATION, 119 },
|
||||
{ WindowType::WINDOW_TYPE_FREEZE_DISPLAY, 120 },
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1368,7 +1368,8 @@ void WindowNodeContainer::RaiseInputMethodWindowPriorityIfNeeded(const sptr<Wind
|
||||
});
|
||||
if (iter != aboveAppWindowNode_->children_.end()) {
|
||||
WLOGFI("raise input method float window priority.");
|
||||
node->priority_ = zorderPolicy_->GetWindowPriority(WindowType::WINDOW_TYPE_KEYGUARD) + 1;
|
||||
node->priority_ = zorderPolicy_->GetWindowPriority(
|
||||
WindowType::WINDOW_TYPE_KEYGUARD) + 2; // 2: higher than keyguard and show when locked window
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user