Dispatch DisplayCutout from DisplayAdapter
Adds a config resource to configure the main display's cutout and dispatches it from the LocalDisplayAdapter. WindowManager's DisplayContent then transforms it to match the current rotation. Also fixes an issue in EmulatedDisplayCutout where the Path was never reset and changes the color to black. Also fixes the RoundedCorners overlay such that it can layout within the cutout area. Test: atest CoordinateTransformsTest DisplayContentTests Bug: 65689439 Change-Id: If39c8ea3cb55c761517f270dcca292682c0918ad
Loading
Please register or sign in to comment