Fix input in new handle menu layer.
Introduces mGlobalMenuCoordinate to track the menu's position in global coordinates. This is used for determining valid menu input when the menu is layered above status bar as mHandleMenuPosition is offset due to the system's WindowManager positioning views differently. Also skips HandleMenu.checkMotionEvent if the view is layered above status bar as the Views can handle input directly and not skipping it causes the collapse button to not work. Bug: 345774744 Test: Manual, click buttons and non-button areas in handle menu for all windowing modes Flag: lse_desktop_experience.enable_additional_windows_above_status_bar Change-Id: I905aa87684b837b5d48d9f83044bb1e2e97107ed
Loading
Please register or sign in to comment