Use appBounds for source bounds if provided
App bounds should be used when calculating the adjusted source-rect-hint when app doesn't provide their own, as overlays attached take up the full app bounds despite the display cutouts present. The app bounds are also used for adjusted source rect hint calculation on the Launcher side, so this helps avoid a mismatch in crops. Bug: 352773027 Flag: EXEMPT bugfix Test: swipe PiP to home from Maps with fixed rotation (90 and 270) Change-Id: Ie7259136a1c65ebc0085292fa4a5f9b46b5ec2a7
Loading
Please register or sign in to comment