Skip to content
Commit 67d93c24 authored by Winson Chung's avatar Winson Chung
Browse files

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
parent 2be23a9f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment