Loading core/java/android/view/accessibility/AccessibilityNodeInfo.java +4 −3 Original line number Diff line number Diff line Loading @@ -2233,7 +2233,7 @@ public class AccessibilityNodeInfo implements Parcelable { */ public void setText(CharSequence text) { enforceNotSealed(); mText = text; mText = (text == null) ? null : text.subSequence(0, text.length()); } /** Loading @@ -2250,7 +2250,7 @@ public class AccessibilityNodeInfo implements Parcelable { */ public void setError(CharSequence error) { enforceNotSealed(); mError = error; mError = (error == null) ? null : error.subSequence(0, error.length()); } /** Loading Loading @@ -2285,7 +2285,8 @@ public class AccessibilityNodeInfo implements Parcelable { */ public void setContentDescription(CharSequence contentDescription) { enforceNotSealed(); mContentDescription = contentDescription; mContentDescription = (contentDescription == null) ? null : contentDescription.subSequence(0, contentDescription.length()); } /** Loading core/java/android/view/accessibility/AccessibilityRecord.java +4 −2 Original line number Diff line number Diff line Loading @@ -572,7 +572,8 @@ public class AccessibilityRecord { */ public void setBeforeText(CharSequence beforeText) { enforceNotSealed(); mBeforeText = beforeText; mBeforeText = (beforeText == null) ? null : beforeText.subSequence(0, beforeText.length()); } /** Loading @@ -593,7 +594,8 @@ public class AccessibilityRecord { */ public void setContentDescription(CharSequence contentDescription) { enforceNotSealed(); mContentDescription = contentDescription; mContentDescription = (contentDescription == null) ? null : contentDescription.subSequence(0, contentDescription.length()); } /** Loading Loading
core/java/android/view/accessibility/AccessibilityNodeInfo.java +4 −3 Original line number Diff line number Diff line Loading @@ -2233,7 +2233,7 @@ public class AccessibilityNodeInfo implements Parcelable { */ public void setText(CharSequence text) { enforceNotSealed(); mText = text; mText = (text == null) ? null : text.subSequence(0, text.length()); } /** Loading @@ -2250,7 +2250,7 @@ public class AccessibilityNodeInfo implements Parcelable { */ public void setError(CharSequence error) { enforceNotSealed(); mError = error; mError = (error == null) ? null : error.subSequence(0, error.length()); } /** Loading Loading @@ -2285,7 +2285,8 @@ public class AccessibilityNodeInfo implements Parcelable { */ public void setContentDescription(CharSequence contentDescription) { enforceNotSealed(); mContentDescription = contentDescription; mContentDescription = (contentDescription == null) ? null : contentDescription.subSequence(0, contentDescription.length()); } /** Loading
core/java/android/view/accessibility/AccessibilityRecord.java +4 −2 Original line number Diff line number Diff line Loading @@ -572,7 +572,8 @@ public class AccessibilityRecord { */ public void setBeforeText(CharSequence beforeText) { enforceNotSealed(); mBeforeText = beforeText; mBeforeText = (beforeText == null) ? null : beforeText.subSequence(0, beforeText.length()); } /** Loading @@ -593,7 +594,8 @@ public class AccessibilityRecord { */ public void setContentDescription(CharSequence contentDescription) { enforceNotSealed(); mContentDescription = contentDescription; mContentDescription = (contentDescription == null) ? null : contentDescription.subSequence(0, contentDescription.length()); } /** Loading