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

Commit 4a6d59b6 authored by Joanne Chung's avatar Joanne Chung
Browse files

Fix TextViewTranslationTest test fail.

The fail will only be found in the release build, we put the return
in the wrong place.

Bug: 189359744
Test: local disable flag and TextViewTranslationTest pass.
Change-Id: Idd377145b3757abaf528a90a25b6c73e9940f9f8
parent 44e18a7a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -13925,8 +13925,8 @@ public class TextView extends View implements ViewTreeObserver.OnPreDrawListener
                    Log.w(LOG_TAG, "Cannot create translation request. editable = "
                            + isTextEditable() + ", isPassword = " + isPassword + ", selectable = "
                            + isTextSelectable());
                    return;
                }
                return;
            }
            // TODO(b/176488462): apply the view's important for translation
            requestBuilder.setValue(ViewTranslationRequest.ID_TEXT,