diff options
author | Tracy Zhou <tracyzhou@google.com> | 2018-05-29 15:36:16 -0700 |
---|---|---|
committer | Tracy Zhou <tracyzhou@google.com> | 2018-05-29 23:52:07 +0000 |
commit | bf770d72cffd5c1e74007fe792a9042267e3c066 (patch) | |
tree | 8f5a18473c05a163cbca862978319634e9c5e9e0 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | a8464603ed63f968dfeea079b69b0acb27c7cd2c (diff) |
Fix unwanted PIP window dismissal when moving to the bottom
Display#getSize() returns screen size excluding certain system decor
elements. We should get a more accurate size using Display#getRealSize()
minus bottom inset instead for calculating whether the PIP window
should be dismissed.
Fixes: 80367557
Test: atest CtsActivityManagerDeviceTestCases:ActivityManagerPinnedStackTests and manual test
Change-Id: I20cd8ccfa53bd7cc1cb7176280a01dbcb64b5745
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions