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

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

Merge "Flag AppZoomOutController init with...

Merge "Flag AppZoomOutController init with com.android.systemui.Flags.spatialModelAppPushback" into main
parents 6a66d213 2923e518
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -170,6 +170,7 @@ android_library {
        "res",
    ],
    static_libs: [
        "//frameworks/base/packages/SystemUI/aconfig:com_android_systemui_flags_lib",
        "//frameworks/libs/systemui:com_android_systemui_shared_flags_lib",
        "//frameworks/libs/systemui:iconloader_base",
        "//packages/apps/Car/SystemUI/aconfig:com_android_systemui_car_flags_lib",
+4 −1
Original line number Diff line number Diff line
@@ -18,6 +18,7 @@ package com.android.wm.shell.appzoomout;

import static android.app.WindowConfiguration.ROTATION_UNDEFINED;
import static android.view.Display.DEFAULT_DISPLAY;
import static com.android.systemui.Flags.spatialModelAppPushback;

import android.app.ActivityManager;
import android.app.WindowConfiguration;
@@ -93,8 +94,10 @@ public class AppZoomOutController implements RemoteCallable<AppZoomOutController
        mDisplayAreaOrganizer = displayAreaOrganizer;
        mMainExecutor = mainExecutor;

        if (spatialModelAppPushback()) {
            shellInit.addInitCallback(this::onInit, this);
        }
    }

    private void onInit() {
        mTaskOrganizer.addFocusListener(this);
+1 −0
Original line number Diff line number Diff line
@@ -23,6 +23,7 @@ package {
    default_team: "trendy_team_system_ui_please_use_a_more_specific_subteam_if_possible_",
    default_visibility: [
        "//visibility:override",
        "//frameworks/base/libs/WindowManager/Shell:__subpackages__",
        "//frameworks/base/packages/SystemUI:__subpackages__",
        "//frameworks/libs/systemui/tracinglib:__subpackages__",
        "//frameworks/base/services/accessibility:__subpackages__",