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

Commit 90b0d74d authored by Taran Singh's avatar Taran Singh Committed by Automerger Merge Worker
Browse files

Merge "Use local coordinates in CAI#EditorBoundsInfo" into tm-dev am: a28f53b0

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/17049973

Change-Id: I322ddee4e6310cd2c075f4356c013fa7b0c96710
parents fc26a804 a28f53b0
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -4595,7 +4595,7 @@ public class Editor {

            if (includeEditorBounds) {
                final RectF bounds = new RectF();
                mTextView.getBoundsOnScreen(bounds, false /* clipToParent */);
                bounds.set(0 /* left */, 0 /* top */, mTextView.getWidth(), mTextView.getHeight());
                EditorBoundsInfo.Builder boundsBuilder = new EditorBoundsInfo.Builder();
                //TODO(b/210039666): add Handwriting bounds once they're available.
                builder.setEditorBoundsInfo(