Sanitize text fields

Bug: 180518039
Test: manual, verify no ANR and media displays normally
Change-Id: I1c99e3257107f71eb5049ef19614e2c6836f808c
1 file changed