Use source rect hint from stopSwipePipToHome of home
So shell side doesn't need to simulate the same calculation from different info (e.g. based on transition info). To make the crop of animation by home and the transition end state have the same appearance. Bug: 331315278 Test: Assume the target app support auto-pip and it doesn't draw under display cutout. E.g. LAYOUT_IN_DISPLAY_CUTOUT_MODE_SHORT_EDGES Enter PiP from 90 degrees to home with 0 degrees. The left side of pip should not flicker. Change-Id: I6a58d42c4b57dfcf42f2e656ce72185da7c56738
Loading
Please register or sign in to comment