Skip to content
Commit abaa42bd authored by shawnlin's avatar shawnlin Committed by Shawn Lin
Browse files

Don't create unexpected display cutout or rounded corners

Should not load cutout and rounded corner when the mInitialDisplayCutout
and mInitialRoundedCorner are null when setForcedSize() is called.
Otherwise, it will accidentally create the cutout/rounded corners of the
default display on other display.

Bug: 230500488
Test: atest DisplaySizeTest#testSizeRangesAfterSettingDisplaySize
Change-Id: Ied2ad194cf2a22e4ac3fe2eb9d6d474e3c9b7578
parent 100004b0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment