Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 530d85c0 authored by Charles Chen's avatar Charles Chen
Browse files

Check parent frame instead of window bounds

In Task#calculateTopActivityMainWindowFrameForTaskInfo,
we previously regard an activity as a match-parent activity by
comparing the window frame to window bounds. It could be wrong
if the window frame excludes the inset.

This CL changes to compare with parent frame, which use the same logic
to exclude the insets area.

Test: none
Bug: 356277166
Flag: com.android.window.flags.better_support_non_match_parent_activity
Change-Id: I42c371783f421e1603b18fed283ccc231a03ad0d
parent 7ab5693e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment