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

Commit 5f69e0c3 authored by Feng Cao's avatar Feng Cao Committed by android-build-merger
Browse files

Merge "Make content capture send text update event for TextView even when it...

Merge "Make content capture send text update event for TextView even when it is not editable (EditText)" into qt-r1-dev
am: f2f679af

Change-Id: Ic51dfb3955783a015a4ae56c00c9746761517228
parents 39a94ec8 f2f679af
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -10578,7 +10578,7 @@ public class TextView extends View implements ViewTreeObserver.OnPreDrawListener
        // notifyAppeared was not sent.
        // ContentCapture
        if (isLaidOut() && isImportantForContentCapture() && isTextEditable()) {
        if (isLaidOut() && isImportantForContentCapture()) {
            final ContentCaptureManager cm = mContext.getSystemService(ContentCaptureManager.class);
            if (cm != null && cm.isContentCaptureEnabled()) {
                final ContentCaptureSession session = getContentCaptureSession();