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

Commit c35fc38b authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Fix the keyboard shows up problem" into main

parents 9ab22c28 eea96db6
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -1389,7 +1389,8 @@ public final class Utils extends com.android.settingslib.Utils {
            ViewCompat.setOnApplyWindowInsetsListener(activity.findViewById(android.R.id.content),
                    (v, windowInsets) -> {
                        Insets insets = windowInsets.getInsets(
                                WindowInsetsCompat.Type.systemBars());
                                WindowInsetsCompat.Type.systemBars()
                                        | WindowInsetsCompat.Type.ime());
                        // Apply the insets paddings to the view.
                        v.setPadding(insets.left, insets.top, insets.right, insets.bottom);