diff options
author | Tony Huang <tonyychuang@google.com> | 2021-08-25 11:30:38 +0800 |
---|---|---|
committer | Tony Huang <tonyychuang@google.com> | 2021-08-26 13:49:25 +0800 |
commit | 0c6c558f89d489a0aaa6c0dcfaa49487bf5cf213 (patch) | |
tree | 3d2acf7bcb75858ec1e50e5369b72fc029f84a5b /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | b4e5f03c20c7d6cabc343f250b082473b9e90a18 (diff) |
Fix black screen when drag divider to bottom
This issue is caused when divider position is near bottom,
The bounds hight is less than 0 due to our algorithm, if
we do setWindowCrop by this bounds, the surface bounds
status abnormal which show in winscope is full screen.
This situation make dim layer show full screen.
Whether this is Surface bug or not, it can protect it split
side. Fix it by make sure both split bounds width or height
are always larger than 0.
Fix: 197588020
Test: Active stage split, drag divider to bottom then check
Change-Id: I4bcd9ba353432bf852ad4a60b6ca9234c2cd84f1
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions