Use insetsRoundedCornerFrame to check if taskbar is expanded or not
When taskbar is expanded, insetsRoundedCornerFrame will be set to true via LayoutParams. We can adjust animation bounds or crop the taskbar surface based on the insetsRoundedCornerFrame. In this way, the insets types in TaskTransitionSpec can be removed. This is a step to remove ITYPEs. Bug: 234093736 Test: atest LetterboxUiControllerTest SizeCompatTests Change-Id: Ibffd5beaf49f3196356b140938c4b2c8cc9d424e
Loading
Please register or sign in to comment