Sanitize labels in GrantCredentialsPermissionActivity Sanitize application labels and other displayed strings using TextUtils.makeSafeForPresentation() to prevent UI obfuscation attacks via newline injection. Copied from autogenerated cl from by MendIt (go/androidmendit). Bug: 472955222 Test: m framework-minus-apex Flag: EXEMPT BUGFIX (cherry picked from commit d143444ef510fb4520245a8cd69215278928fec5) Cherrypick-From: https://googleplex-android-review.googlesource.com/q/commit:ccef8f995cd29f104ee12bf308a96b3ea19217f0 Merged-In: Ief6f22746200360e97b3ccbc0b5abca8867139bb Change-Id: Ief6f22746200360e97b3ccbc0b5abca8867139bb