Ensure snapshot orientation matches snapshot buffer size
- We take/create the snapshot based on the bounds of the task, which are taken from the task's configuration. However, the orientation is taken from the app window's configuration, and if it has a requested orientation then the snapshot bounds can differ from the orientation (which makes it impossible for Launcher to render it correctly). This is visible when returning home from a landscape app where we update the configuration of the display as a part of resuming the home activity, which propagates down to the task, but where the app window's override configuration is still landscape while the bounds are portrait. Bug: 132687470 Test: Open Hearthstone, hit home and then go to overview Change-Id: I748a60c50a8f79a861b721dc490bd359d14d8160
Loading
Please register or sign in to comment