Make non-floating PhoneWindow extend into display cutout insets
The exsiting logic already enforces non-floating PhoneWindow to extends into system bar areas by default. This CL makes it extend into the cutout area as well if the edge-to-edge enforcement is enabled. Bug: 309578419 Test: atest PhoneWindowTest Change-Id: Id264ba939eb04634bb1916551b081b30112278ae
Showing
- core/java/com/android/internal/policy/PhoneWindow.java 9 additions, 5 deletionscore/java/com/android/internal/policy/PhoneWindow.java
- core/tests/coretests/src/com/android/internal/policy/PhoneWindowTest.java 7 additions, 2 deletions...ests/src/com/android/internal/policy/PhoneWindowTest.java
- libs/WindowManager/Shell/src/com/android/wm/shell/startingsurface/SplashscreenContentDrawer.java 1 addition, 1 deletion...d/wm/shell/startingsurface/SplashscreenContentDrawer.java
Loading
Please register or sign in to comment