Re-land: Make action mode view extend into system insets area
This CL makes the action mode view extend into system insets area if the insets don't get consumed by its parent container. If the vertical navigation bar is visible, the action mode view and the action bar will fit navigation bar, which will align the width of the status bar color view, and there won't be weird color blending in the corner. Before this CL, when onConfigurationChanged of an ActionBarContextView is called, it would read and set the wrong content height. This is because ActionBarContextView extends AbsActionBarView, but didn't override onConfigurationChanged which would read ActionBar_height instead of ActionMode_height. This CL also fixes the issue. Bug: 379783298 Fix: 397378527 Flag: com.android.window.flags.action_mode_edge_to_edge Test: atest ActionBarContextViewTest Change-Id: Iaa805482cf69fbf846b31a4626c01e9cbeafd12e
Loading
Please register or sign in to comment