diff options
author | Felka Chang <felkachang@google.com> | 2020-02-15 12:03:00 +0800 |
---|---|---|
committer | Felka Chang <felkachang@google.com> | 2020-02-19 17:53:52 +0800 |
commit | 15322da9dc68fe569ceed93a4fc6268bbd72dd5a (patch) | |
tree | 6922ef5d8c7d8a0f07cd42274489323c49200b2d /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | d99b89159b3c36a94a5ae3cb13eb4db284aa98e5 (diff) |
Fix CutoutSpecification logic bug
if the specification contains all of left, top, right, and bottom bind
cutout, the bottom cutout rect return null. But, it should be non-null.
The specification that contains bottom right corner cutout assigned to long
edge in phone like device can't be achieved. But, it should be achieved.
Test: atest \
FrameworksCoreTests:android.view.DisplayCutoutTest \
FrameworksCoreTests:android.view.CutoutSpecificationTest \
SystemUITests:com.android.systemui.ScreenDecorationsTest \
CorePerfTests:android.view.CutoutSpecificationBenchmark
Fixes: 149675352
Change-Id: I6c742f93e72627f1d58b8ce971a4b1cc9792d5cf
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions