diff options
| author | Feng Cao <fengcao@google.com> | 2019-06-08 11:11:54 -0700 |
|---|---|---|
| committer | android-build-merger <android-build-merger@google.com> | 2019-06-08 11:11:54 -0700 |
| commit | d57c9734ec159b013a1e54879d4e496ec1e5bddc (patch) | |
| tree | b2c5afdc2f21f4b356025586217af9559233f492 /core/java/android/widget/TextView.java | |
| parent | 4bdfa01258398a8ddc0f71f97794bc8d5ba49648 (diff) | |
| parent | a1a275e63c3a5be739b77a16ad9436713129720b (diff) | |
Merge "Only send text update for TextView after VIEW_ADDED is notified" into qt-r1-dev am: 691fa971ec
am: a1a275e63c
Change-Id: Ie5e4104e6111c3a5d326e621c2528ece42879ebf
Diffstat (limited to 'core/java/android/widget/TextView.java')
| -rw-r--r-- | core/java/android/widget/TextView.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/java/android/widget/TextView.java b/core/java/android/widget/TextView.java index 95bcbb2e56b2..95cf9a914854 100644 --- a/core/java/android/widget/TextView.java +++ b/core/java/android/widget/TextView.java @@ -10586,7 +10586,7 @@ public class TextView extends View implements ViewTreeObserver.OnPreDrawListener // notifyAppeared was not sent. // ContentCapture - if (isLaidOut() && isImportantForContentCapture()) { + if (isLaidOut() && isImportantForContentCapture() && getNotifiedContentCaptureAppeared()) { final ContentCaptureManager cm = mContext.getSystemService(ContentCaptureManager.class); if (cm != null && cm.isContentCaptureEnabled()) { final ContentCaptureSession session = getContentCaptureSession(); |
