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

Commit 5088def6 authored by Nishith  Khanna's avatar Nishith Khanna
Browse files

Merge remote-tracking branch 'origin/lineage-22.1' into a15

parents 85a06759 d1afd975
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -705,6 +705,15 @@ public final class RichInputConnection implements PrivateCommandPerformer {
        if (!isConnected()) {
            return null;
        }

        // Restart batch edit to force state update for broken web apps (for e.g. ProtonMail)
        // as batch edit mode avoids sending state updates until batch edit end.
        // See beginBatchEdit mode documentation for further information.
        if (mNestLevel > 0) {
            endBatchEdit();
            beginBatchEdit();
        }

        final CharSequence before = getTextBeforeCursorAndDetectLaggyConnection(
                OPERATION_GET_WORD_RANGE_AT_CURSOR,
                SLOW_INPUT_CONNECTION_ON_PARTIAL_RELOAD_MS,