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

Commit eea96db6 authored by Sunny Shao's avatar Sunny Shao
Browse files

Fix the keyboard shows up problem

- Fix the keyboard shows overlapped problem in ChooseLockPassword.

Fixes: 331179831
Test: atest PlatformScenarioTests:LockscreenWithSixDigitPIN
Change-Id: Id57a3d1d693fb12d370fbf7e8e95b6da5dbf7df3
parent e2099b7f
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);