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
Loading
Please register or sign in to comment