Don't set extreme values of Integer to safe bounds
This is to prevent getting unexpected results while calculating the width or height of the rectangle, due to the overflow. This CL defines the borders of the window layout with large enough integers, which are also the borders of the safe bounds. Fix: 227276622 Test: atest ConfigurationScreenLayoutTest#testScreenLayout Change-Id: Iee14e6de48f57be4999f64dbdce01815de88a9df
Loading
Please register or sign in to comment