Loading packages/SystemUI/src/com/android/systemui/pip/PipBoundsHandler.java +5 −1 Original line number Diff line number Diff line Loading @@ -126,6 +126,10 @@ public class PipBoundsHandler { mCurrentMinSize = minEdgeSize; } protected float getAspectRatio() { return mAspectRatio; } /** * Sets both shelf visibility and its height if applicable. * @return {@code true} if the internal shelf state is changed, {@code false} otherwise. Loading Loading @@ -419,7 +423,7 @@ public class PipBoundsHandler { /** * Populates the bounds on the screen that the PIP can be visible in. */ private void getInsetBounds(Rect outRect) { protected void getInsetBounds(Rect outRect) { try { mWindowManager.getStableInsets(mContext.getDisplayId(), mTmpInsets); outRect.set(mTmpInsets.left + mScreenEdgeInsets.x, Loading Loading
packages/SystemUI/src/com/android/systemui/pip/PipBoundsHandler.java +5 −1 Original line number Diff line number Diff line Loading @@ -126,6 +126,10 @@ public class PipBoundsHandler { mCurrentMinSize = minEdgeSize; } protected float getAspectRatio() { return mAspectRatio; } /** * Sets both shelf visibility and its height if applicable. * @return {@code true} if the internal shelf state is changed, {@code false} otherwise. Loading Loading @@ -419,7 +423,7 @@ public class PipBoundsHandler { /** * Populates the bounds on the screen that the PIP can be visible in. */ private void getInsetBounds(Rect outRect) { protected void getInsetBounds(Rect outRect) { try { mWindowManager.getStableInsets(mContext.getDisplayId(), mTmpInsets); outRect.set(mTmpInsets.left + mScreenEdgeInsets.x, Loading