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

Commit 99e12a24 authored by Alina Zaidi's avatar Alina Zaidi Committed by Android (Google) Code Review
Browse files

Merge "Remove duplicate isDragResizible method" into main

parents ca41ebbf 52604cd3
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -576,10 +576,6 @@ public class DesktopModeWindowDecoration extends WindowDecoration<WindowDecorLin
        mWindowDecorCaptionHandleRepository.notifyCaptionChanged(captionState);
    }

    private static boolean isDragResizable(ActivityManager.RunningTaskInfo taskInfo) {
        return taskInfo.isFreeform() && taskInfo.isResizeable;
    }

    private void updateMaximizeMenu(SurfaceControl.Transaction startT) {
        if (!isDragResizable(mTaskInfo) || !isMaximizeMenuActive()) {
            return;