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

Commit 9eef727b authored by Tracy Zhou's avatar Tracy Zhou
Browse files

Do not zoom out the alternate bouncer

From UX: the primary bouncer should be zoomed out, but the alternate bouncer should be treated like a scrim.

Bug: 370560660
Bug: 391373596
Change-Id: Ic60e90720aa6b5bcd5a74bb16487ef7aa86a341a
Test: make sure the alternate bouncer isn't zoomed out when the shade is pulled down
Flag: com.android.systemui.spatial_model_app_pushback
parent f8ac9625
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -19,6 +19,7 @@ package com.android.server.wm;
import static android.view.WindowManager.LayoutParams.TYPE_ACCESSIBILITY_MAGNIFICATION_OVERLAY;
import static android.view.WindowManager.LayoutParams.TYPE_INPUT_METHOD;
import static android.view.WindowManager.LayoutParams.TYPE_INPUT_METHOD_DIALOG;
import static android.view.WindowManager.LayoutParams.TYPE_KEYGUARD_DIALOG;
import static android.view.WindowManager.LayoutParams.TYPE_MAGNIFICATION_OVERLAY;
import static android.view.WindowManager.LayoutParams.TYPE_NAVIGATION_BAR;
import static android.view.WindowManager.LayoutParams.TYPE_NAVIGATION_BAR_PANEL;
@@ -164,7 +165,8 @@ public abstract class DisplayAreaPolicy {
                                FEATURE_APP_ZOOM_OUT)
                                .all()
                                .except(TYPE_NAVIGATION_BAR, TYPE_NAVIGATION_BAR_PANEL,
                                        TYPE_STATUS_BAR, TYPE_NOTIFICATION_SHADE, TYPE_WALLPAPER)
                                        TYPE_STATUS_BAR, TYPE_NOTIFICATION_SHADE,
                                        TYPE_KEYGUARD_DIALOG, TYPE_WALLPAPER)
                                .build());
            }
            if (USE_DISPLAY_AREA_FOR_FULLSCREEN_MAGNIFICATION) {