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

Commit 2de68db5 authored by Caitlin Shkuratov's avatar Caitlin Shkuratov Committed by Android (Google) Code Review
Browse files

Merge "[Status Bar] Set status bar window insets to the status bar height." into udc-dev

parents 9dd34997 d4c9489b
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -240,8 +240,10 @@ public class StatusBarWindowController {
                    Insets.of(0, safeTouchRegionHeight, 0, 0));
        }
        lp.providedInsets = new InsetsFrameProvider[] {
                new InsetsFrameProvider(mInsetsSourceOwner, 0, statusBars()),
                new InsetsFrameProvider(mInsetsSourceOwner, 0, tappableElement()),
                new InsetsFrameProvider(mInsetsSourceOwner, 0, statusBars())
                        .setInsetsSize(Insets.of(0, height, 0, 0)),
                new InsetsFrameProvider(mInsetsSourceOwner, 0, tappableElement())
                        .setInsetsSize(Insets.of(0, height, 0, 0)),
                gestureInsetsProvider
        };
        return lp;