Merge "Make content capture send text update event for TextView even when it is not editable (EditText)" into qt-r1-dev
am: f2f679afac
Change-Id: Ic51dfb3955783a015a4ae56c00c9746761517228
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user