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

Commit d4fdf268 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Make sure PipBoundsHelper (on TVs) receives DisplayInfo" into rvc-dev...

Merge "Make sure PipBoundsHelper (on TVs) receives DisplayInfo" into rvc-dev am: 8c98f79c am: 1048073b am: e9d8505a am: 69a5c48f

Change-Id: I653f2aec34bb0caa37b1c45088497d2cf6f570ee
parents 5ce419fd 69a5c48f
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -239,6 +239,12 @@ public class PipManager implements BasePipManager, PipTaskOrganizer.PipTransitio
        mInitialized = true;
        mContext = context;
        mPipBoundsHandler = pipBoundsHandler;
        // Ensure that we have the display info in case we get calls to update the bounds before the
        // listener calls back
        final DisplayInfo displayInfo = new DisplayInfo();
        context.getDisplay().getDisplayInfo(displayInfo);
        mPipBoundsHandler.onDisplayInfoChanged(displayInfo);

        mResizeAnimationDuration = context.getResources()
                .getInteger(R.integer.config_pipResizeAnimationDuration);
        mPipTaskOrganizer = new PipTaskOrganizer(mContext, mPipBoundsHandler,