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

Commit c72fba82 authored by Gilles Debunne's avatar Gilles Debunne
Browse files

Ensure batch edit mode is ended on window focus loss

This is a translation of this open source contribution:
https://android-review.googlesource.com/38503

Change-Id: I4d3adf89d0752e6fd5ec2cdad3a54d4e764a1fe7
parent ef472603
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -978,8 +978,8 @@ public class Editor {
                mSuggestionsPopupWindow.onParentLostFocus();
            }

            // Don't leave us in the middle of a batch edit.
            mTextView.onEndBatchEdit();
            // Don't leave us in the middle of a batch edit. Same as in onFocusChanged
            ensureEndedBatchEdit();
        }
    }