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

Skip to content
Commit e8faa129 authored by Ben Reich's avatar Ben Reich
Browse files

Add WindowInsets back on non-freeform window devices

For Material3 the bottom window insets were removed. Unfortunately this
means the navigation gesture swipe at the base of the window overlaps
the picker / saver bottom bar. This is particularly bad in the saver
where the bottom bar is a text box and the gesture navigation interferes
with moving the cursor in the text box.

This also has the benefit of adding the behaviour where the textbox
appears above the soft keyboard. Prior to this if you pressed the
textbox (with material 3 enabled) it would not appear above the soft
keyboard and remain hidden.

Bug: 400337159
Test: Deploy to Pixel 6 and observe bottom bar is above gesture bar
Flag: com.android.documentsui.flags.use_material3
Change-Id: I846ff9718455183bc136fb6ff90adb7c9b590e6d
parent 022d276a
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