Fix handling of display cutout
Add margins around the static screenshot layout. We want the preview/buttons/etc to respect display cutouts (so they aren't covered), but the flash and the background scrim to display across the entire screen. This change adds bounding margins and updates their location when the orientation changes (since we want to move "up/down" in portrait and "left/right" in landscape). This also allows us to handle waterfall cutouts correctly. Bug: 189853509 Fix: 189853509 Test: manual -- used developer settings to test possible cutouts in portrait and landscape Change-Id: Id12012bb3d4dacb948cecd819999e0c7d46bb37b
Loading
Please register or sign in to comment