Instead of using the height of the BottomAppBar it should use the height of the FAB. The default is for these heights to be the same which is why it was working before.
PiperOrigin-RevId: 189054684
This change allows the BottomAppBar to not show a cutout if the FAB is not anchored to it using the CoordinatorLayout anchorId, or if the FAB is not visible. This change also allows the BottomAppBar to listen to show/hide animation changes so it can synchronize its animation to hide and show the cradle with the animation to hide and show the FAB.
PiperOrigin-RevId: 188024600