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

Commit 79a64b62 authored by Craig Mautner's avatar Craig Mautner
Browse files

resolved conflicts for merge of a14a14ab to master

Change-Id: I80259a2887f36fc3af409322dea36aa90a2ee847
parents c20054a1 a14a14ab
Loading
Loading
Loading
Loading
+1 −6
Original line number Original line Diff line number Diff line
@@ -525,13 +525,8 @@ final class WindowState implements WindowManagerPolicy.WindowState {
        // Now make sure the window fits in the overall display.
        // Now make sure the window fits in the overall display.
        Gravity.applyDisplay(mAttrs.gravity, df, mFrame);
        Gravity.applyDisplay(mAttrs.gravity, df, mFrame);


        // Make sure the overscan, content and visible frames are inside of the
        // Make sure the content and visible frames are inside of the
        // final window frame.
        // final window frame.
        mOverscanFrame.set(Math.max(mOverscanFrame.left, mFrame.left),
                Math.max(mOverscanFrame.top, mFrame.top),
                Math.min(mOverscanFrame.right, mFrame.right),
                Math.min(mOverscanFrame.bottom, mFrame.bottom));

        mContentFrame.set(Math.max(mContentFrame.left, mFrame.left),
        mContentFrame.set(Math.max(mContentFrame.left, mFrame.left),
                Math.max(mContentFrame.top, mFrame.top),
                Math.max(mContentFrame.top, mFrame.top),
                Math.min(mContentFrame.right, mFrame.right),
                Math.min(mContentFrame.right, mFrame.right),