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

Skip to content
Snippets Groups Projects
Commit 4c8378aa authored by Jerry Chang's avatar Jerry Chang Committed by Android (Google) Code Review
Browse files

Merge "Fix wrong touch region of split sreen" into tm-dev

parents f608b183 43d59483
Branches
No related tags found
No related merge requests found
...@@ -175,7 +175,7 @@ final class LetterboxUiController { ...@@ -175,7 +175,7 @@ final class LetterboxUiController {
final Rect spaceToFill = transformedBounds != null final Rect spaceToFill = transformedBounds != null
? transformedBounds ? transformedBounds
: mActivityRecord.inMultiWindowMode() : mActivityRecord.inMultiWindowMode()
? mActivityRecord.getRootTask().getBounds() ? mActivityRecord.getTask().getBounds()
: mActivityRecord.getRootTask().getParent().getBounds(); : mActivityRecord.getRootTask().getParent().getBounds();
mLetterbox.layout(spaceToFill, w.getFrame(), mTmpPoint); mLetterbox.layout(spaceToFill, w.getFrame(), mTmpPoint);
} else if (mLetterbox != null) { } else if (mLetterbox != null) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment