Merge "Fixed bug with pop-up window placement at the bottom in split-screen" into nyc-dev

am: 21bbc5a775

* commit '21bbc5a775ea65318d1250b0406c2573128d285e':
  Fixed bug with pop-up window placement at the bottom in split-screen

Change-Id: I03fa322474eb7884720a0ce4ace38c71d95f06e9
This commit is contained in:
Wale Ogunwale
2016-05-10 00:56:01 +00:00
committed by android-build-merger

View File

@@ -697,7 +697,7 @@ final class WindowState implements WindowManagerPolicy.WindowState {
// The offset from the layout containing frame to the actual containing frame.
final int layoutXDiff;
final int layoutYDiff;
if (mInsetFrame.isEmpty() && (fullscreenTask || layoutInParentFrame())) {
if (fullscreenTask || layoutInParentFrame()) {
// We use the parent frame as the containing frame for fullscreen and child windows
mContainingFrame.set(pf);
mDisplayFrame.set(df);