Add HANDLE_OUTSIDE_TOUCH flag to decor menus.
Adds the flag HANDLE_OUTSIDE_TOUCH to maximize menu and handle menu and uses the available ACTION_OUTSIDE event to close menus on external touch, reducing the need for the global InputMonitor. Additionally, adds a touch listener to the maximize menu root view to support listening for outside touches. Bug: 349135068 Test: Manual, outside touches still work in both menus with and without the additional windows above status bar flag. Flag: EXEMPT refactor Change-Id: I8e4a6f8e9571fa3d64e9d3c95074e306c747ea0f
Loading
Please register or sign in to comment