Fix BottomSheetBehavior setState animation

Fix the issue that setState animates the bottom sheet to an old position
when there is a pending view layout.

Bug: 29535624
Change-Id: Id86fe3d2b0bd1f5ab316ff2756d914dbaabb57cd
6 files changed