Merge "Rename navigationBarHeight to navigationBarFrameHeight" into tm-dev am: cf134e04c8 am: 9e3f03991d
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/18203341 Change-Id: Iaf46e2850ff4ede488df7d3520c8c25766245697 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user