Merge "Make content capture send text update event for TextView even when it is not editable (EditText)" into qt-r1-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
f2f679afac
@@ -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