Skip to content

fix: add isInMultiWindowMode to improve multi-window detection#2000

Open
huhuime wants to merge 1 commit intoRikkaApps:masterfrom
huhuime:patch-1
Open

fix: add isInMultiWindowMode to improve multi-window detection#2000
huhuime wants to merge 1 commit intoRikkaApps:masterfrom
huhuime:patch-1

Conversation

@huhuime
Copy link
Copy Markdown

@huhuime huhuime commented Apr 11, 2026

Some devices do not create a new DisplayId in freeform/split-screen mode, so add the Activity#isInMultiWindowMode check to ensure correct recognition in multi-window scenarios.
部分机型小窗/分屏不会创建新的 DisplayId,因此增加 Activity#isInMultiWindowMode 判断,确保多窗口场景能正确识别

增加小窗/分屏模式判断,只判断displayId是不够的,小窗和分屏不一定会开新的displayId
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant