diff options
author | Ben Lin <linben@google.com> | 2021-04-28 18:50:16 -0700 |
---|---|---|
committer | Ben Lin <linben@google.com> | 2021-04-28 19:31:40 -0700 |
commit | a4c8a3c524f3a049f37ea88115e561befc887ed2 (patch) | |
tree | 24facfc4552fbed6aa5a85350eb431dfc3b601e4 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
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
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions