[API Abuse - Text Consistency] Eliminate zero width, invisible formatting chars and consecutive spaces
Some apps use different invisible characters like in their contents to prevent the content getting truncated or trimmed.
Such character combinations can also look like multiple new lines when there are many and they can also prevent us removing consecutive new lines.
Bug: 313439845
Test: NotificationBigTextNormalizer
Flag: android.app.Flags.clean_up_spans_and_new_lines
Change-Id: I36474427f3934450a7779f8e0afa619c6ad9a2b2
5 files changed