summaryrefslogtreecommitdiff
path: root/core/java/android/widget/TextView.java
diff options
context:
space:
mode:
authorSunny Goyal <sunnygoyal@google.com>2020-02-25 09:57:50 -0800
committerSunny Goyal <sunnygoyal@google.com>2020-02-25 10:00:37 -0800
commitc444b514bf50c2b53f97f3ccaa4b538238a0bcc9 (patch)
tree897f7c402d0ca87097f051a840af81b62f89addf /core/java/android/widget/TextView.java
parent27f83cdbcefd687632811996e25ece99f7e1ac69 (diff)
Removing possible user defined strings from bugreport view-dump
Bug: 64101886 Test: Verified build Change-Id: Ifad98a268fc17a2e1572ca3e0962a89447083294
Diffstat (limited to 'core/java/android/widget/TextView.java')
-rw-r--r--core/java/android/widget/TextView.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/java/android/widget/TextView.java b/core/java/android/widget/TextView.java
index 815cc5cbb10d..f3243aaf5b7d 100644
--- a/core/java/android/widget/TextView.java
+++ b/core/java/android/widget/TextView.java
@@ -13174,7 +13174,7 @@ public class TextView extends View implements ViewTreeObserver.OnPreDrawListener
stream.addProperty("text:selectionStart", getSelectionStart());
stream.addProperty("text:selectionEnd", getSelectionEnd());
stream.addProperty("text:curTextColor", mCurTextColor);
- stream.addProperty("text:text", mText == null ? null : mText.toString());
+ stream.addUserProperty("text:text", mText == null ? null : mText.toString());
stream.addProperty("text:gravity", mGravity);
}