1cf585059cf44d817f28b072b5f64e6ef616b59c |
|
03-Jan-2018 |
Adrian Roos <roosa@google.com> |
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
/frameworks/base/services/core/java/com/android/server/wm/utils/CoordinateTransforms.java
|