commit | a4c8a3c524f3a049f37ea88115e561befc887ed2 | [log] [tgz] |
---|---|---|
author | Ben Lin <linben@google.com> | Wed Apr 28 18:50:16 2021 -0700 |
committer | Ben Lin <linben@google.com> | Wed Apr 28 19:31:40 2021 -0700 |
tree | 24facfc4552fbed6aa5a85350eb431dfc3b601e4 | |
parent | f941b5a2f47dc0311fa0541e9b3b3bf1c9d6a03b [diff] |
PiP: Take inset into consideration when calculating stash offset. When stashing, currently it assumes the entire display is usable - not taking into insets into consideration that can be caused by navigation bar, etc. Bug: 186698828 Test: Manual. Stashing PIP while w/ insets now stashes correctly. Test: atest PipSnapAlgorithmTest Change-Id: Ia6cbb8f21b666a4ba4ee10b84e3087b6a23cd982