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

Commit 5c0d4d0a authored by Seigo Nonaka's avatar Seigo Nonaka Committed by Android Git Automerger
Browse files

am 4ce47333: am 3178da6b: am 084b7a15: Merge "Do not show selection action...

am 4ce47333: am 3178da6b: am 084b7a15: Merge "Do not show selection action mode when the TextView is not shown." into mnc-dev

* commit '4ce47333':
  Do not show selection action mode when the TextView is not shown.
parents a628b457 4ce47333
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -5231,7 +5231,7 @@ public class TextView extends View implements ViewTreeObserver.OnPreDrawListener
        // ExtractEditText does not call onFocus when it is displayed, and mHasSelectionOnFocus can
        // not be set. Do the test here instead.
        if (isInExtractedMode() && hasSelection() && mEditor != null
                && mEditor.mTextActionMode == null) {
                && mEditor.mTextActionMode == null && isShown() && hasWindowFocus()) {
            mEditor.startSelectionActionMode();
        }