commit | 511635184c48a98f0a82fd5ab6a411fb0359628e | [log] [tgz] |
---|---|---|
author | Hongwei Wang <hwwang@google.com> | Thu Mar 04 16:39:21 2021 -0800 |
committer | Hongwei Wang <hwwang@google.com> | Thu Mar 04 16:39:21 2021 -0800 |
tree | ba43ffc5397b262ca17c728bc75eb72a40f0c676 | |
parent | e6b1eb0f96c6ec93621573e08afad53ba9a69320 [diff] |
Fixed the aspect ratio in PictureInPictureAutoEnter Since the actual aspect ratio is defined in layout file, measuring the value in layout change listener can only cause irrelevant onTaskInfoChanged callbacks sent to SysUI due to 1px difference. Bug: 180630127 Test: enter PiP w/ autoEnter from landscape in button navigation Change-Id: I25dcf82bfbebde017c2c938d745c23d615a7015b