Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8385fb87 authored by Tracy Zhou's avatar Tracy Zhou Committed by Android (Google) Code Review
Browse files

Merge "Exclude window type of TYPE_VOLUME_OVERLAY from AppZoomOut" into main

parents f3d42c73 7f189bac
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -26,6 +26,7 @@ import static android.view.WindowManager.LayoutParams.TYPE_NAVIGATION_BAR_PANEL;
import static android.view.WindowManager.LayoutParams.TYPE_NOTIFICATION_SHADE;
import static android.view.WindowManager.LayoutParams.TYPE_SECURE_SYSTEM_OVERLAY;
import static android.view.WindowManager.LayoutParams.TYPE_STATUS_BAR;
import static android.view.WindowManager.LayoutParams.TYPE_VOLUME_OVERLAY;
import static android.view.WindowManager.LayoutParams.TYPE_WALLPAPER;
import static android.window.DisplayAreaOrganizer.FEATURE_APP_ZOOM_OUT;
import static android.window.DisplayAreaOrganizer.FEATURE_DEFAULT_TASK_CONTAINER;
@@ -166,7 +167,7 @@ public abstract class DisplayAreaPolicy {
                                .all()
                                .except(TYPE_NAVIGATION_BAR, TYPE_NAVIGATION_BAR_PANEL,
                                        TYPE_STATUS_BAR, TYPE_NOTIFICATION_SHADE,
                                        TYPE_KEYGUARD_DIALOG, TYPE_WALLPAPER)
                                        TYPE_KEYGUARD_DIALOG, TYPE_WALLPAPER, TYPE_VOLUME_OVERLAY)
                                .build());
            }
            if (USE_DISPLAY_AREA_FOR_FULLSCREEN_MAGNIFICATION) {