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

Commit cf134e04 authored by Tracy Zhou's avatar Tracy Zhou Committed by Android (Google) Code Review
Browse files

Merge "Rename navigationBarHeight to navigationBarFrameHeight" into tm-dev

parents 3ff037cb 6cfc1615
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -37,7 +37,7 @@ class AppPairsHelper(
        val displayBounds = WindowUtils.displayBounds
        val secondaryAppBounds = Region.from(0,
                dividerBounds.bounds.bottom - WindowUtils.dockedStackDividerInset,
                displayBounds.right, displayBounds.bottom - WindowUtils.navigationBarHeight)
                displayBounds.right, displayBounds.bottom - WindowUtils.navigationBarFrameHeight)
        return secondaryAppBounds
    }

+2 −2
Original line number Diff line number Diff line
@@ -171,7 +171,7 @@ class ResizeLegacySplitScreen(
            val bottomAppBounds = Region.from(0,
                dividerBounds.bottom - WindowUtils.dockedStackDividerInset,
                displayBounds.right,
                displayBounds.bottom - WindowUtils.navigationBarHeight)
                displayBounds.bottom - WindowUtils.navigationBarFrameHeight)
            visibleRegion(Components.SimpleActivity.COMPONENT.toFlickerComponent())
                .coversExactly(topAppBounds)
            visibleRegion(Components.ImeActivity.COMPONENT.toFlickerComponent())
@@ -192,7 +192,7 @@ class ResizeLegacySplitScreen(
            val bottomAppBounds = Region.from(0,
                dividerBounds.bottom - WindowUtils.dockedStackDividerInset,
                displayBounds.right,
                displayBounds.bottom - WindowUtils.navigationBarHeight)
                displayBounds.bottom - WindowUtils.navigationBarFrameHeight)

            visibleRegion(Components.SimpleActivity.COMPONENT.toFlickerComponent())
                .coversExactly(topAppBounds)